]> git.kernelconcepts.de Git - karo-tx-linux.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)
committerLothar Waßmann <LW@KARO-electronics.de>
Mon, 16 Jun 2014 16:05:22 +0000 (18:05 +0200)
commit07a46eab6758dca3d61bb23cac7354cb559ce897
tree4ec2657bf415f8039c12ce4a0f743006e5891cbd
parenta6801601f6746187f0d0613ab2ae00111b49e8d4
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