]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ENGR00278097-2 usb: chipidea: imx: Add usb_phy_shutdown at probe's error path
authorPeter Chen <peter.chen@freescale.com>
Wed, 4 Sep 2013 07:06:21 +0000 (15:06 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Mon, 16 Jun 2014 15:46:09 +0000 (17:46 +0200)
commitac83bcbc49300788b93165eb14545a870d0e6315
treefcca9ec0b62e051bcce9c9a29619b5a8641035e6
parentf26f078bd1dfd848673028f060ac6ac3e4c0c4d4
ENGR00278097-2 usb: chipidea: imx: Add usb_phy_shutdown at probe's error path

If not, the PHY will be active even the controller is not in use.
We find this issue due to the PHY's clock refcount is not correct
due to -EPROBE_DEFER return after phy's init.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
drivers/usb/chipidea/ci_hdrc_imx.c