diff options
author | Chanho Park <chanho61.park@samsung.com> | 2013-09-12 18:18:49 +0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-09-17 20:08:46 +0400 |
commit | d3675e3a481d3320e214984a10577fe06518c5bf (patch) | |
tree | 6075122679c1312e8885c93450856512f08b71ba /drivers/usb/gadget/s3c-hsotg.c | |
parent | c8c10253d8706be7ce8bc8197e385cb837eed5a0 (diff) | |
download | linux-d3675e3a481d3320e214984a10577fe06518c5bf.tar.xz |
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>
Diffstat (limited to 'drivers/usb/gadget/s3c-hsotg.c')
-rw-r--r-- | drivers/usb/gadget/s3c-hsotg.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/gadget/s3c-hsotg.c b/drivers/usb/gadget/s3c-hsotg.c index 91b1263327b2..6bddf1aa2347 100644 --- a/drivers/usb/gadget/s3c-hsotg.c +++ b/drivers/usb/gadget/s3c-hsotg.c @@ -2475,8 +2475,6 @@ irq_retry: if (gintsts & GINTSTS_ErlySusp) { dev_dbg(hsotg->dev, "GINTSTS_ErlySusp\n"); writel(GINTSTS_ErlySusp, hsotg->regs + GINTSTS); - - s3c_hsotg_disconnect(hsotg); } /* |