summaryrefslogtreecommitdiff
path: root/include/linux/init_task.h
diff options
context:
space:
mode:
authorJack Pham <jackp@codeaurora.org>2014-08-29 15:21:03 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:06:22 -0700
commit78c2759deaf2c59600341a8fe51d24760dbb70d0 (patch)
treef20af720d3a8a03c008949d1d2b3d93fcfd19cad /include/linux/init_task.h
parentd675e701902c11a326e6ce2682f8acb09fd89c98 (diff)
usb: dwc3: Stop processing more events after erratic error
In rare cases if the controller is unable to communicate with the PHY it will trigger an ERRATIC ERROR event, upon which it is recommended that the controller be reset. Currently the reset is scheduled to be performed in a workqueue, which relinquishes the dwc3_interrupt thread to continue to process the event buffer. Meanwhile if the reset runs concurrently, it would disable the core clock, which would result in unclocked I/O access if the gadget interrupt handling continues to run. Fix this by stopping the interrupt thread and prevent further interrupts from reading DWC3 registers until the reset sequence has completed. Change-Id: Ib9a2173867d2ce3c9dbc5f5cbff0dda554168b35 Signed-off-by: Jack Pham <jackp@codeaurora.org>
Diffstat (limited to 'include/linux/init_task.h')
0 files changed, 0 insertions, 0 deletions