projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5578b26
)
usb: dwc3: core: use pm_runtime_put_sync() on remove
author
Felipe Balbi
<balbi@ti.com>
Fri, 11 Oct 2013 13:34:28 +0000
(08:34 -0500)
committer
Felipe Balbi
<balbi@ti.com>
Fri, 11 Oct 2013 13:34:28 +0000
(08:34 -0500)
We are going to disable runtime_pm and we're
removing the driver, we must disable the device
now.
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/core.c
patch
|
blob
|
history
diff --git
a/drivers/usb/dwc3/core.c
b/drivers/usb/dwc3/core.c
index e88ffae80cac8c7a69f73cb489c3dcbd2ddbae38..74f9cf02da070a6d1c23b643a56f76e3264fb8cd 100644
(file)
--- a/
drivers/usb/dwc3/core.c
+++ b/
drivers/usb/dwc3/core.c
@@
-584,7
+584,7
@@
static int dwc3_remove(struct platform_device *pdev)
usb_phy_set_suspend(dwc->usb2_phy, 1);
usb_phy_set_suspend(dwc->usb3_phy, 1);
- pm_runtime_put(&pdev->dev);
+ pm_runtime_put
_sync
(&pdev->dev);
pm_runtime_disable(&pdev->dev);
dwc3_debugfs_exit(dwc);