usb: dwc3: core: add a event buffer cache
authorJohn Youn <johnyoun@synopsys.com>
Tue, 15 Nov 2016 10:54:15 +0000 (12:54 +0200)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Fri, 18 Nov 2016 11:54:42 +0000 (13:54 +0200)
commitd9fa4c63f7662c2e0aa8096250072f244f7737f2
tree93a3fbc7aedf66d5a6379d8de98bd7ce8aad9bad
parenta0fe0415e0b2a1d87b54db1a0451e05f59675f0c
usb: dwc3: core: add a event buffer cache

This extra buffer will be used so we can copy
triggered events from our event buffer to this cache
and process all of them later in bottom half
handler.

We need this in order to implement a workaround for
a known erratum in recent DWC3 release.

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