]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
usb: musb: Add pre and post root port reset end callbacks
authorHans de Goede <hdegoede@redhat.com>
Sun, 29 Mar 2015 10:50:47 +0000 (12:50 +0200)
committerFelipe Balbi <balbi@ti.com>
Tue, 26 May 2015 15:38:24 +0000 (10:38 -0500)
commit591fa9dd3fee3de8c729febca395beb75c8ee819
tree4865918e64a577f41203c2a85768c62992d659c4
parent672bfdaa310004368a0d493478e2a40f2f2f914f
usb: musb: Add pre and post root port reset end callbacks

The sunxi otg phy has a bug where it wrongly detects a high speed squelch
when reset on the root port gets de-asserted with a lo-speed device.

The workaround for this is to disable squelch detect before de-asserting
reset, and re-enabling it after the reset de-assert is done.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_core.h
drivers/usb/musb/musb_virthub.c