]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd9dbdf2ff5856d133dcea1d24e07d676f857fdf6
tree6075122679c1312e8885c93450856512f08b71ba
parentae4dc824f8caa1dcb31608b3b82a65cede40b625
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