]> git.karo-electronics.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)
committerJason Liu <r64343@freescale.com>
Wed, 30 Oct 2013 01:55:26 +0000 (09:55 +0800)
commit5eb52887fc6f8b12c11aa7d2552829aebc7598ae
treeffb13cb78cbbbbe682408b6a86c66846d11db354
parent5748c4f997399584691559332997cfc5177ad232
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