]> git.baikalelectronics.ru Git - kernel.git/commit
staging: fsl-mc: Fixed bug in dprc_probe() error path
authorJ. German Rivera <German.Rivera@freescale.com>
Wed, 6 Jan 2016 22:03:27 +0000 (16:03 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 03:10:12 +0000 (19:10 -0800)
commite4e6fad93a4ae0ae9368e00cc6573d858ee7841f
tree5e6e26fa1e6e529dd23a1c82129855bbc57e7784
parent839f7df12008837def38ee520d46c55b076ee708
staging: fsl-mc: Fixed bug in dprc_probe() error path

Destroy mc_io in error path in dprc_probe() only if the mc_io was
created in this function.

Signed-off-by: J. German Rivera <German.Rivera@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-mc/bus/dprc-driver.c