diff options
author | Felipe Balbi <balbi@ti.com> | 2014-09-16 10:53:59 -0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-09-16 10:53:59 -0400 |
commit | 4cd41ffd27b6b775445ecfdb72b592b71d6b4a32 (patch) | |
tree | 61e8c51ed5b9fae163d2d54967ebda02805c0bfa /drivers/usb/dwc3/core.c | |
parent | d9152161b4bfd131a8253a5b9fcd8ba9b10277c4 (diff) | |
parent | 9e82bf014195d6f0054982c463575cdce24292be (diff) |
Merge tag 'v3.17-rc5' into next
Linux 3.17-rc5
Signed-off-by: Felipe Balbi <balbi@ti.com>
Conflicts:
Documentation/devicetree/bindings/usb/mxs-phy.txt
drivers/usb/phy/phy-mxs-usb.c
Diffstat (limited to 'drivers/usb/dwc3/core.c')
-rw-r--r-- | drivers/usb/dwc3/core.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c index f2050e844b4b..b0f4d52b7f04 100644 --- a/drivers/usb/dwc3/core.c +++ b/drivers/usb/dwc3/core.c | |||
@@ -796,20 +796,21 @@ static int dwc3_remove(struct platform_device *pdev) | |||
796 | { | 796 | { |
797 | struct dwc3 *dwc = platform_get_drvdata(pdev); | 797 | struct dwc3 *dwc = platform_get_drvdata(pdev); |
798 | 798 | ||
799 | dwc3_debugfs_exit(dwc); | ||
800 | dwc3_core_exit_mode(dwc); | ||
801 | dwc3_event_buffers_cleanup(dwc); | ||
802 | dwc3_free_event_buffers(dwc); | ||
803 | |||
799 | usb_phy_set_suspend(dwc->usb2_phy, 1); | 804 | usb_phy_set_suspend(dwc->usb2_phy, 1); |
800 | usb_phy_set_suspend(dwc->usb3_phy, 1); | 805 | usb_phy_set_suspend(dwc->usb3_phy, 1); |
801 | phy_power_off(dwc->usb2_generic_phy); | 806 | phy_power_off(dwc->usb2_generic_phy); |
802 | phy_power_off(dwc->usb3_generic_phy); | 807 | phy_power_off(dwc->usb3_generic_phy); |
803 | 808 | ||
809 | dwc3_core_exit(dwc); | ||
810 | |||
804 | pm_runtime_put_sync(&pdev->dev); | 811 | pm_runtime_put_sync(&pdev->dev); |
805 | pm_runtime_disable(&pdev->dev); | 812 | pm_runtime_disable(&pdev->dev); |
806 | 813 | ||
807 | dwc3_debugfs_exit(dwc); | ||
808 | dwc3_core_exit_mode(dwc); | ||
809 | dwc3_event_buffers_cleanup(dwc); | ||
810 | dwc3_free_event_buffers(dwc); | ||
811 | dwc3_core_exit(dwc); | ||
812 | |||
813 | return 0; | 814 | return 0; |
814 | } | 815 | } |
815 | 816 | ||