diff options
author | Vivek Gautam <gautam.vivek@samsung.com> | 2012-10-13 19:20:18 +0530 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-10-15 16:25:23 +0300 |
commit | 01b8daf71b2fd2f6ece5f063a089abf4b13f1d6e (patch) | |
tree | fd12c13855bf1c85cf66b722598d4abbe49f2acb /drivers/usb/renesas_usbhs/pipe.h | |
parent | 6ff1f3d3bd7c69c62ca5773b1b684bce42eff06a (diff) | |
download | op-kernel-dev-01b8daf71b2fd2f6ece5f063a089abf4b13f1d6e.zip op-kernel-dev-01b8daf71b2fd2f6ece5f063a089abf4b13f1d6e.tar.gz |
usb: dwc3: shutdown usb_phy when removing the device
We call usb_phy_init() from dwc3_core_init() during
probe, so adding usb_phy_shutdown() to dwc3_core_exit()
while removing the device so we don't keep PHYs
turned on, consuming power, unnecessarily.
Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/renesas_usbhs/pipe.h')
0 files changed, 0 insertions, 0 deletions