usb: dwc3: workaround: unexpected transtion U3 -> RESUME
authorFelipe Balbi <balbi@ti.com>
Tue, 18 Sep 2012 18:39:24 +0000 (21:39 +0300)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:17:57 +0000 (11:17 +0200)
commit0b0cc1cd31bed3e3147398e54530f1f819b27692
treefefac187ba34d39b4116c9e71ff5289188c65747
parent7ac6a593d512de38e710591afea4c839626b3bd0
usb: dwc3: workaround: unexpected transtion U3 -> RESUME

In DWC3 versions < 2.50a configured without
Hibernation mode enabled, there will be an
extra link status change interrupt if device
detects host-initiated U3 exit.

In that case, core will generate an unnecessary
U3 -> RESUME transition which should be ignored
by the driver.

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