Tzung-Bi Shih 294b7380ff
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 <tzungbi@google.com>
Link: https://lore.kernel.org/r/20200117073814.82441-4-tzungbi@google.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-01-21 17:15:20 +00:00
..
2020-01-21 17:07:08 +00:00
2020-01-21 17:07:08 +00:00
2020-01-21 17:07:08 +00:00
2020-01-21 17:07:08 +00:00
2019-11-07 13:52:17 +01:00
2020-01-21 17:07:08 +00:00
2020-01-17 15:38:56 +00:00
2020-01-17 15:38:56 +00:00
2020-01-21 17:07:08 +00:00
2020-01-21 17:07:08 +00:00
2019-10-07 03:53:03 +02:00
2020-01-21 17:07:08 +00:00