diff options
author | Tzung-Bi Shih <[email protected]> | 2020-01-17 15:38:14 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-01-21 17:15:20 +0000 |
commit | 294b7380ffe88d4a0626af1fee5843a3db0c913c (patch) | |
tree | f33cf004b4f10524b397995d0e38bdab0b0ef4e7 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 839284e794822ebc8b66f32006a5d4cad863e1fb (diff) |
ASoC: max98090: fix deadlock in max98090_dapm_put_enum_double()
Commit 62d5ae4cafb7 ("ASoC: max98090: save and restore SHDN when
changing sensitive registers SHDN bit") uses dapm_mutex to protect SHDN
bit. However, snd_soc_dapm_put_enum_double() in
max98090_dapm_put_enum_double() acquires the dapm_mutex again which
cause a deadlock.
Use snd_soc_dapm_put_enum_double_locked() instead to fix the deadlock.
Fixes: 62d5ae4cafb7 ("ASoC: max98090: save and restore SHDN when changing sensitive registers SHDN bit")
Signed-off-by: Tzung-Bi Shih <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions