[alsa-devel] [PATCH 0/3] ASoC: max98090: fix lock issues

Tzung-Bi Shih tzungbi at google.com
Fri Jan 17 08:38:11 CET 2020


The 1st patch reverts an already merged patch which makes less sense.
(https://mailman.alsa-project.org/pipermail/alsa-devel/2020-January/161172.html)

The 3rd patch uses the function introduced from the 2nd patch to fix
a deadlock issue.  I wasn't aware of the deadlock issue because my
test environment doesn't change the MUX.  Could be manually tested by
something like: `amixer -c1 cset name='LTENL Mux' 0`.

Tzung-Bi Shih (3):
  ASoC: max98090: revert "ASoC: max98090: fix lockdep warning"
  ASoC: dapm: add snd_soc_dapm_put_enum_double_locked
  ASoC: max98090: fix deadlock in max98090_dapm_put_enum_double()

 include/sound/soc-dapm.h    |  2 ++
 sound/soc/codecs/max98090.c | 12 ++++-----
 sound/soc/codecs/max98090.h |  1 -
 sound/soc/soc-dapm.c        | 54 ++++++++++++++++++++++++++++---------
 4 files changed, 48 insertions(+), 21 deletions(-)

-- 
2.25.0.341.g760bfbb309-goog



More information about the Alsa-devel mailing list