usb: dwc3: Workaround for irq mask issue
authorJohn Youn <johnyoun@synopsys.com>
Mon, 14 Nov 2016 20:32:45 +0000 (12:32 -0800)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Fri, 18 Nov 2016 11:54:51 +0000 (13:54 +0200)
commit28632b44d129cd2dc677475197a01cced307cfc5
treea672111667bc1c1f0dee26ed0ecfed9c3d36a205
parentcf40b86b6ef6df5262ef5a8463b42524e6aa5590
usb: dwc3: Workaround for irq mask issue

This is a workaround for STAR 9000961433 which affects only version
3.00a of the DWC_usb3 core. This prevents the controller interrupt from
being masked while handling events. Enabling interrupt moderation allows
us to work around this issue because once the GEVNTCOUNT.count is
written the IRQ is immediately deasserted and won't be asserted again
until GEVNTCOUNT.EHB is cleared.

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