usb: s3c-hsotg: do not disconnect gadget when receiving ErlySusp intr
authorChanho Park <chanho61.park@samsung.com>
Thu, 12 Sep 2013 14:18:49 +0000 (16:18 +0200)
committerFelipe Balbi <balbi@ti.com>
Tue, 17 Sep 2013 16:08:46 +0000 (11:08 -0500)
commitd3675e3a481d3320e214984a10577fe06518c5bf
tree6075122679c1312e8885c93450856512f08b71ba
parentc8c10253d8706be7ce8bc8197e385cb837eed5a0
usb: s3c-hsotg: do not disconnect gadget when receiving ErlySusp intr

DWC2 databook indicates if the core sets "ErlySusp" bit, an idle state has been
detected on the USB for 3 ms. This situation can be occurred when waiting
a request from user daemon. So, we should keep the connection between udc and
gadget even though this interrupt is occurred.

Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Signed-off-by: Robert Baldyga <r.baldyga@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/s3c-hsotg.c