projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77b1737
)
USB: fix delay time to ensure that all power-down signals are set in suspend mode.
author
wlf
<wulf@rock-chips.com>
Wed, 23 Apr 2014 01:27:58 +0000
(09:27 +0800)
committer
wlf
<wulf@rock-chips.com>
Wed, 23 Apr 2014 01:27:58 +0000
(09:27 +0800)
drivers/usb/dwc_otg_310/dwc_otg_hcd_linux.c
patch
|
blob
|
history
diff --git
a/drivers/usb/dwc_otg_310/dwc_otg_hcd_linux.c
b/drivers/usb/dwc_otg_310/dwc_otg_hcd_linux.c
index fdf36cc73e5b1959ade171badcca324031171b07..a1aab955819f7a6a9edd53ce09dc5920d26ce9db 100755
(executable)
--- a/
drivers/usb/dwc_otg_310/dwc_otg_hcd_linux.c
+++ b/
drivers/usb/dwc_otg_310/dwc_otg_hcd_linux.c
@@
-773,12
+773,12
@@
static int dwc_otg_hcd_suspend(struct usb_hcd *hcd)
if(!pldata->get_status(USB_REMOTE_WAKEUP)){
if(pldata->phy_suspend)
pldata->phy_suspend(pldata, USB_PHY_SUSPEND);
+ udelay(3);
if (pldata->clock_enable)
pldata->clock_enable(pldata, 0);
}
}
- udelay(3);
return 0;
}