diff options
author | Chanho Park <chanho61.park@samsung.com> | 2013-09-12 16:18:49 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-09-17 18:08:46 +0200 |
commit | d3675e3a481d3320e214984a10577fe06518c5bf (patch) | |
tree | 6075122679c1312e8885c93450856512f08b71ba /drivers | |
parent | usb: s3c-hsotg: fix unregistration function (diff) | |
download | linux-d3675e3a481d3320e214984a10577fe06518c5bf.tar.xz linux-d3675e3a481d3320e214984a10577fe06518c5bf.zip |
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')
-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); } /* |