aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorBen Zhang <[email protected]>2019-06-18 17:45:55 -0600
committerMark Brown <[email protected]>2019-06-19 12:46:44 +0100
commitdf9091e9d3f4500bc6fb15f5d2a1c2614f67004c (patch)
treea41e8bc8b26d6b913c51d193ce94af6ce6e07362 /tools/perf/scripts/python/event_analyzing_sample.py
parent4f7b018b55db0361718161e1471d8b7a16fdfa47 (diff)
ASoC: rt5677: handle concurrent interrupts
The rt5677 driver writes to the IRQ control register within the IRQ handler in order to flip the polarity of the interrupts that have been signalled. If an interrupt fires in the interval between the regmap_read and the regmap_write, it will not trigger a new call to rt5677_irq. Add a bounded loop to rt5677_irq that keeps checking interrupts until none are seen, so that any interrupts that are signalled in that interval are correctly handled. Signed-off-by: Ben Zhang <[email protected]> Signed-off-by: Fletcher Woodruff <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions