]> 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)
commit3b4e9a5f7d5eb6315b48363d22af3fc08c8d1975
tree3d12584837d2de6ba3860fe1e559819ca05a1921
parentaae1c6456682c364a890ea6126efa4b65424c9a7
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