Skip to content

ASoC: max98090: fix lock issues

Tzung-Bi Shih alsa-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ASoC: max98090: revert "ASoC: max98090: fix lockdep warning"sound/soc/codecs/max98090.c sound/soc/codecs/max98090.h+4 -71 reply
2/3ASoC: dapm: add snd_soc_dapm_put_enum_double_lockedinclude/sound/soc-dapm.h sound/soc/soc-dapm.c+43 -131 reply
3/3ASoC: max98090: fix deadlock in max98090_dapm_put_enum_double()sound/soc/codecs/max98090.c+1 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 6 lines
2.25.0.341.g760bfbb309-goog

_______________________________________________
Alsa-devel mailing list
[email protected]
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel