summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorMayank Rana <mrana@codeaurora.org>2016-04-22 09:38:43 -0700
committerKyle Yan <kyan@codeaurora.org>2016-04-29 14:35:35 -0700
commit32592a96602297e8fddc752f0d10190017edaa7f (patch)
tree4429635f0b546f4a01136e8871d6c1db3f2e465b /tools/perf/scripts/python/netdev-times.py
parent606410ceac4a89d256f9378c8a18936ad7d1d420 (diff)
dwc3: Enable and disable core IRQ from dwc3 suspend/resume only
dwc3 core IRQ's depth (disable depth) is going out of sync due to disabling it from dwc3's state machine when there are multiple time USB composition switch is being performed before USB cable connect. Linux IRQ framework doesn't decrement disable depth count with enable_irq() when IRQ is enabled previously but it does increment disable depth every time disable_irq() is called. This results into dwc3 core IRQ to remain disable causing USB enumeration failure as unknown device due to USB controller driver is not seeing any of RESET and CONNECT DONE interrupt although USB controller has posted those events into event buffer. Fix this issue by making sure that USB core IRQ is disabled by default, and enable/disable it from dwc3 suspend/resume only. Change-Id: I665b15f6b5aca7d63e9ced29ec94b09524ae91be Signed-off-by: Mayank Rana <mrana@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions