summaryrefslogtreecommitdiff
path: root/samples/hw_breakpoint
diff options
context:
space:
mode:
authorHeiko Stübner <heiko.stuebner@collabora.com>2015-12-18 19:30:59 +0100
committerFelipe Balbi <balbi@ti.com>2015-12-22 12:12:51 -0600
commita40a00318c7fcdd23e73cfffac0e33430a43a3e3 (patch)
tree4d371b3295e3cc4e1a53bf670c86f4c864d6f26d /samples/hw_breakpoint
parentea4a8cb1c2b47570e77f4489659e2c653ca66f9e (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 <dianders@chromium.org> Acked-by: John Youn <johnyoun@synopsys.com> Signed-off-by: Heiko Stuebner <heiko.stuebner@collabora.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'samples/hw_breakpoint')
0 files changed, 0 insertions, 0 deletions