]> git.baikalelectronics.ru Git - kernel.git/commit
usb: chipidea: imx: Add usb_phy_shutdown at probe's error path
authorPeter Chen <peter.chen@freescale.com>
Tue, 17 Sep 2013 04:37:23 +0000 (12:37 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Sep 2013 00:30:30 +0000 (17:30 -0700)
commit4c089f47aabb92da633723b0845b6c33c43a75e6
treef8c00b352e28257b01f54b3b4b171f95676f88f0
parent35140bc9895cfc6e46226cbb62b4b07fbf72d167
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/ci_hdrc_imx.c