]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: s3c-hsotg: fix endpoint interrupts handling
authorRobert Baldyga <r.baldyga@samsung.com>
Thu, 19 Sep 2013 09:50:19 +0000 (11:50 +0200)
committerFelipe Balbi <balbi@ti.com>
Tue, 15 Oct 2013 13:43:25 +0000 (08:43 -0500)
commit6aa14d1ada964f3b4a73b64fded58b0d69f1333c
treeb05fd76c63478e06f3072dd074b792b594901bf2
parent2eb1d725af5c72d2365a98da781685d64f3fe1d4
usb: gadget: s3c-hsotg: fix endpoint interrupts handling

When s3c_hsotg_trytx is called for ep without enqueued request, interrupts
for this ep are disabled, to prevent interrupt flooding. Interrupts are
enabled when new request for this ep is starting.

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