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)
commitafcf4169a41ef02d3f833f4eccac11038bd2b39c
treeb05fd76c63478e06f3072dd074b792b594901bf2
parent5cb2ff0cdd60aef07c592a9d09349b5993fdf9b4
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