usb: dwc3: gadget: introduce dwc3_process_event_buf
authorFelipe Balbi <balbi@ti.com>
Wed, 12 Jun 2013 18:25:08 +0000 (21:25 +0300)
committerFelipe Balbi <balbi@ti.com>
Mon, 29 Jul 2013 10:57:01 +0000 (13:57 +0300)
commitf42f2447d66233a5bf86e8631e4eb4e863b2ff0b
tree6827fd6a5ff6f8e2fe1d50524302fe075931870f
parent7f97aa9865800766e570d0e1be772a034dd30388
usb: dwc3: gadget: introduce dwc3_process_event_buf

in order to make our IRQ handler thread easier
to read, we re-factor the inner loop to a separate
function.

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/gadget.c