Skip to content

Commit d3675e3

Browse files
cometzeroFelipe Balbi
authored andcommitted
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 <[email protected]> Signed-off-by: Robert Baldyga <[email protected]> Signed-off-by: Kyungmin Park <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
1 parent c8c1025 commit d3675e3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/usb/gadget/s3c-hsotg.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2475,8 +2475,6 @@ static irqreturn_t s3c_hsotg_irq(int irq, void *pw)
24752475
if (gintsts & GINTSTS_ErlySusp) {
24762476
dev_dbg(hsotg->dev, "GINTSTS_ErlySusp\n");
24772477
writel(GINTSTS_ErlySusp, hsotg->regs + GINTSTS);
2478-
2479-
s3c_hsotg_disconnect(hsotg);
24802478
}
24812479

24822480
/*

0 commit comments

Comments
 (0)