]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
usb: dwc3: gadget: drop dwc3 manual phy control
authorFelipe Balbi <balbi@ti.com>
Fri, 12 Jul 2013 10:19:52 +0000 (13:19 +0300)
committerFelipe Balbi <balbi@ti.com>
Mon, 29 Jul 2013 10:56:52 +0000 (13:56 +0300)
commit636e2a2caeafcb1b55b6799b29fe436039819eb9
tree0349b92152ee988f9cc8e69099c139ed86f06aa7
parenta45c82b84c844cd85b2ed1aa32596f1bffa32716
usb: dwc3: gadget: drop dwc3 manual phy control

Recent versions of the core, can suspend and resume
the PHYs automatically, so we don't need to fiddle
with dwc3's Global PHY registers at all.

On versions prior to 1.94a this patch will mean
that we will never ask dwc3 to suspend the PHY.

This is an acceptable behavior or such old versions
of the core, specially considering that the only
chip known to have a version prior to 1.94a was
OMAP5 ES1.0 and that's not supported in mainline
kernel, because it was just a test spin of OMAP5.

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/gadget.c