usb: dwc3: gadget: clear events in top-half handler
authorJohn Youn <johnyoun@synopsys.com>
Tue, 15 Nov 2016 11:08:59 +0000 (13:08 +0200)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Fri, 18 Nov 2016 11:54:43 +0000 (13:54 +0200)
commit65aca3205046d159b2c79f7531203a53aec9cf35
tree8ccd0f3c9eafc8e4f082ae97cac43f1f2b47fa2b
parentebbb2d59398fb7ef92fae83d6aeba0cbb2b6f99f
usb: dwc3: gadget: clear events in top-half handler

Now that all the infrastructure is in place, we can
clear events in the top-half handler in order to
bring IRQ line low ASAP.

This is also a necessary step in order to implement
workaround for known erratum in follow-up patches.

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