usb: dwc3: gadget: use evt->cache for processing events
authorJohn Youn <johnyoun@synopsys.com>
Tue, 15 Nov 2016 11:07:02 +0000 (13:07 +0200)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Fri, 18 Nov 2016 11:54:43 +0000 (13:54 +0200)
commitebbb2d59398fb7ef92fae83d6aeba0cbb2b6f99f
tree64f715c9a4686b235fd3fd95725fc0217c89dcb2
parentcaefe6c7be4778d0bddb38596ced1b60bd522b14
usb: dwc3: gadget: use evt->cache for processing events

Let's start copying events from evt->buf to
evt->cache and use evt->cache for processing events.

A follow-up patch will be added to clear events in
the top-half handler in order to bring IRQ line low
as soon as possible.

Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/gadget.c