usb: dwc3: core: enable the USB2 and USB3 phy in probe
authorKishon Vijay Abraham I <kishon@ti.com>
Fri, 25 Jan 2013 03:00:54 +0000 (08:30 +0530)
committerFelipe Balbi <balbi@ti.com>
Fri, 25 Jan 2013 07:19:43 +0000 (09:19 +0200)
commit8ba007a971bb236be017cb8351c383ce6eadf095
tree3d12584837d2de6ba3860fe1e559819ca05a1921
parent7e41bba94617b7e4f77d3531a63fbfacdf6842a6
usb: dwc3: core: enable the USB2 and USB3 phy in probe

Enabled the USB2 and USB3 PHY in probe by calling usb_phy_set_suspend
and disabled the PHYs on driver removal. When PM is implemented this
will be optimized to enable the PHYs only when needed.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/core.c