aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorCharles Keepax <[email protected]>2019-04-04 13:56:01 +0100
committerMark Brown <[email protected]>2019-04-04 20:51:34 +0700
commitaa612f2b006aa3552871dabcd6a8e90e33f65e09 (patch)
tree110656840bce5f8cf9b98d92e1cf67569deddb7f /tools/perf/scripts/python/export-to-sqlite.py
parentfdf34366d3242d5eeffa1b4d9a3497ebf30a4ecb (diff)
ASoC: wm_adsp: Avoid calling snd_compr_stop_error from WDT expiry
It is unsafe to call snd_compr_stop_error from outside of the compressed ops. Firstly the compressed device lock needs to be held and secondly it queues error work to issue a trigger stop which should not happen after the stream has been freed. To avoid these issues use the same trick used for the IRQ handling, simply send a snd_compr_fragment_elapsed to cause user-space to wake on the poll, then report the error when user-space issues the pointer request after it wakes. Fixes: a2bcbc1b9ac2f ("ASoC: wm_adsp: Shutdown any compressed streams on DSP watchdog timeout") Signed-off-by: Charles Keepax <[email protected]> Signed-off-by: Mark Brown <[email protected]> Cc: [email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions