aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPierre-Louis Bossart <[email protected]>2021-03-22 11:37:22 -0500
committerMark Brown <[email protected]>2021-03-23 17:14:25 +0000
commit91ec48f540f83022377723a774a0a37a630801af (patch)
treec5f67e06b50768364ece532f9b348821c5f21dc7 /tools/perf/scripts/python/export-to-postgresql.py
parent927280909fa7d8e61596800d82f18047c6cfbbe4 (diff)
ASoC: SOF: core: harden shutdown helper
When the probe is handled in a workqueue, we must use cancel_work_sync() in the shutdown helper to avoid possible race conditions. We must also take care of possible errors happening in a probe workqueue or during pm_runtime resume (called e.g. before shutdown for PCI devices). We should really only try to access hardware registers and initiate IPCs if the DSP is fully booted. Fixes: daff7f1478e12 ("ASoC: SOF: add snd_sof_device_shutdown() helper for shutdown") Signed-off-by: Pierre-Louis Bossart <[email protected]> Reviewed-by: Ranjani Sridharan <[email protected]> Reviewed-by: Kai Vehmanen <[email protected]> Reviewed-by: Libin Yang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions