diff options
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2024-02-11 12:58:34 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-02-11 19:58:49 +0300 |
commit | 6ef5d5b92f7117b324efaac72b3db27ae8bb3082 (patch) | |
tree | 4361fd86c00982dc5f2eb54f6629a6f180a70b20 /sound/soc/sof | |
parent | 727b943263dc98a7aca355cc0302158218f71543 (diff) | |
download | linux-6ef5d5b92f7117b324efaac72b3db27ae8bb3082.tar.xz |
ASoC: rt5645: Fix deadlock in rt5645_jack_detect_work()
There is a path in rt5645_jack_detect_work(), where rt5645->jd_mutex
is left locked forever. That may lead to deadlock
when rt5645_jack_detect_work() is called for the second time.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Fixes: cdba4301adda ("ASoC: rt5650: add mutex to avoid the jack detection failure")
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Link: https://lore.kernel.org/r/1707645514-21196-1-git-send-email-khoroshilov@ispras.ru
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof')
0 files changed, 0 insertions, 0 deletions