summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@freescale.com>2013-03-04 17:19:20 +0800
committerPeter Chen <peter.chen@freescale.com>2013-03-06 09:09:29 +0800
commit0392a7c327e65512a62bbfc1ca3ced00b90735ab (patch)
treef2dbdccd1251d0e6c2f76fad39e849e6a6f66026 /arch
parentf0de33d20010330387f01d95f1dbd809c1ef9591 (diff)
ENGR00251209-4 msl-mx6: usb: Fix system hang when unload gadget module
At gadget module remove function, it closes the clock, but at platform code, it still visits register. In fact, The PHY has already been low power mode when driver's remove before platform code is called. Signed-off-by: Peter Chen <peter.chen@freescale.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-mx6/usb_dr.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/mach-mx6/usb_dr.c b/arch/arm/mach-mx6/usb_dr.c
index efae4aef6d23..372253e37268 100644
--- a/arch/arm/mach-mx6/usb_dr.c
+++ b/arch/arm/mach-mx6/usb_dr.c
@@ -163,9 +163,6 @@ static void usbotg_uninit_ext(struct platform_device *pdev)
{
otg_used--;
if (!otg_used) {
- enter_phy_lowpower_suspend(pdev->dev.platform_data, true);
- mdelay(3);
-
clk_disable(usb_phy1_clk);
clk_put(usb_phy1_clk);