diff options
| author | Neo Chang <YLCHANG2@nuvoton.com> | 2026-09-14 09:56:48 +0800 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-09-17 12:46:34 +0100 |
| commit | 4862e73eaf088c54ac79a1c849b3194d93e2e3a4 (patch) | |
| tree | f88f4972c519207ea9e6f42c9b6b7cfb6e7558f5 /tools/perf/scripts/python/flamegraph.py | |
| parent | eeff736ebf5d6c6c605808d0e411a214efadadb9 (diff) | |
ASoC: codecs: nau8360: Fix AB-BA deadlock in mux update
nau8360_dac_mux_put_enum() acquires nau8360->lock before the DAPM mutex,
causing an AB-BA lock inversion. This deadlocks with concurrent stream
startups or mixer updates, which acquire locks in the reverse order.
Fix this by replacing nau8360->lock with the DAPM mutex to protect
pre-checks, releasing it before calling snd_soc_dapm_put_enum_double().
Reported-by: Sashiko AI <sashiko-bot@kernel.org>
Link: https://sashiko.dev/#/patchset/20260908030342.222655-1-YLCHANG2@nuvoton.com?part=1
Signed-off-by: Neo Chang <YLCHANG2@nuvoton.com>
Link: https://patch.msgid.link/20260914015648.311986-3-YLCHANG2@nuvoton.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
