diff options
author | Heiko Stübner <[email protected]> | 2015-12-18 19:30:59 +0100 |
---|---|---|
committer | Felipe Balbi <[email protected]> | 2015-12-22 12:12:51 -0600 |
commit | a40a00318c7fcdd23e73cfffac0e33430a43a3e3 (patch) | |
tree | 4d371b3295e3cc4e1a53bf670c86f4c864d6f26d /tools/perf/util/trace-event-scripting.c | |
parent | ea4a8cb1c2b47570e77f4489659e2c653ca66f9e (diff) |
usb: dwc2: add shutdown callback to platform variant
In specific conditions (involving usb hubs) dwc2 devices can create a
lot of interrupts, even to the point of overwhelming devices running
at low frequencies. Some devices need to do special clock handling
at shutdown-time which may bring the system clock below the threshold
of being able to handle the dwc2 interrupts. Disabling dwc2-irqs
in a shutdown callbacks prevents reboots/poweroffs from getting stuck
in such cases.
The hsotg struct already contains an unused irq element, so we can
just use it to store the irq number for the shutdown callback.
Reviewed-by: Douglas Anderson <[email protected]>
Acked-by: John Youn <[email protected]>
Signed-off-by: Heiko Stuebner <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions