diff options
author | Daniel Baluta <daniel.baluta@nxp.com> | 2025-01-27 10:34:22 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-01-27 13:35:35 +0000 |
commit | 3ff53862c322aa7bb115d84348d5a641dc905d87 (patch) | |
tree | e8a595297b2bf2183e1e7393358b220d6ce5bb40 /tools/perf/scripts/python/parallel-perf.py | |
parent | eb5c79828cfa72e8dbdf2db842a781ad6806cdaf (diff) |
ASoC: amd: acp: Fix possible deadlock
On error path, function acp_i2s_set_tdm_slot returns without releasing
the lock and this could result in potential deadlocks in the future.
Error reported by sparse:
sound/soc/amd/acp/acp-i2s.c:95:12: error: context imbalance in
'acp_i2s_set_tdm_slot' - different lock contexts for basic block
Fixes: cd60dec8994c ("ASoC: amd: acp: Refactor TDM slots selction based on acp revision id")
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.dev>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://patch.msgid.link/20250127083422.20406-1-daniel.baluta@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions