]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit526afea2aec37373ffd86a788376d1e38834a86d
tree3d12584837d2de6ba3860fe1e559819ca05a1921
parent8f33e99dcd135115f1b20b2babf6586f113dcde5
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