projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7143a5
)
MLK-16285-6 usb: cdns3: add more operatons at cdns3_remove
author
Peter Chen
<peter.chen@nxp.com>
Mon, 18 Sep 2017 06:08:57 +0000
(14:08 +0800)
committer
Nitin Garg
<nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:38:37 +0000
(15:38 -0500)
Add PHY shutdown and clock disable operations at cdns3_remove.
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Acked-by: Li Jun <jun.li@nxp.com>
drivers/usb/cdns3/core.c
patch
|
blob
|
history
diff --git
a/drivers/usb/cdns3/core.c
b/drivers/usb/cdns3/core.c
index
f977465
..
b640197
100644
(file)
--- a/
drivers/usb/cdns3/core.c
+++ b/
drivers/usb/cdns3/core.c
@@
-562,6
+562,8
@@
static int cdns3_remove(struct platform_device *pdev)
struct cdns3 *cdns = platform_get_drvdata(pdev);
cdns3_remove_roles(cdns);
+ usb_phy_shutdown(cdns->usbphy);
+ cdns3_disable_unprepare_clks(&pdev->dev);
return 0;
}