Skip to content

ASoC: Replace remaining users of the CODEC mutex

Lars-Peter Clausen alsa-devel 1 version Applied

Status from this message: Applied all, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/8ASoC: ab8500-codec: Move control lock to the driver levelsound/soc/codecs/ab8500-codec.c+16 -160 replies
2/8ASoC: max98095: Move mutex to the driver levelsound/soc/codecs/max98095.c+8 -40 replies
3/8ASoC: wm5102: Move ultrasonic response settings lock to the driver levelinclude/linux/mfd/arizona/core.h sound/soc/codecs/arizona.c sound/soc/codecs/wm5102.c+11 -100 replies
4/8ASoC: wm8731: Move the deemph lock to the driver levelsound/soc/codecs/wm8731.c+7 -20 replies
5/8ASoC: wm8903: Move the deemph lock to the driver levelsound/soc/codecs/wm8903.c+6 -20 replies
6/8ASoC: wm8958: Move DSP firmware lock to driver levelsound/soc/codecs/wm8958-dsp2.c sound/soc/codecs/wm8994.c sound/soc/codecs/wm8994.h+10 -60 replies
7/8ASoC: wm8962: Move DSP enable lock to the driver levelsound/soc/codecs/wm8962.c+6 -20 replies
8/8ASoC: Remove CODEC mutexinclude/sound/soc.h sound/soc/soc-core.c+0 -20 replies

Reviews trailers per patch

None of the 8 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchCharles Keepax
SeriesA-b
1/8
2/8
3/8
4/8
5/8
6/8
7/8
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/8] ASoC: Replace remaining users of the CODEC mutex

We've stopped using the snd_soc_codec mutex in the ASoC core itself a while ago. There is still a handful of drivers which use the mutex to protect some of their data structures. This patch moves the lock for the remaining users to the drivers private data struct and then removes it from the snd_soc_codec struct.

- Lars

Lars-Peter Clausen (8):
ASoC: ab8500-codec: Move control lock to the driver level
ASoC: max98095: Move mutex to the driver level
ASoC: wm5102: Move ultrasonic response settings lock to the driver
level
ASoC: wm8731: Move the deemph lock to the driver level
ASoC: wm8903: Move the deemph lock to the driver level
ASoC: wm8958: Move DSP firmware lock to driver level
ASoC: wm8962: Move DSP enable lock to the driver level
ASoC: Remove CODEC mutex

 include/linux/mfd/arizona/core.h |  1 +
 include/sound/soc.h              |  1 -
 sound/soc/codecs/ab8500-codec.c  | 32 ++++++++++++++++----------------
 sound/soc/codecs/arizona.c       |  4 ++--
 sound/soc/codecs/max98095.c      | 12 ++++++++----
 sound/soc/codecs/wm5102.c        | 16 ++++++++--------
 sound/soc/codecs/wm8731.c        |  9 +++++++--
 sound/soc/codecs/wm8903.c        |  8 ++++++--
 sound/soc/codecs/wm8958-dsp2.c   | 12 ++++++------
 sound/soc/codecs/wm8962.c        |  8 ++++++--
 sound/soc/codecs/wm8994.c        |  2 ++
 sound/soc/codecs/wm8994.h        |  2 ++
 sound/soc/soc-core.c             |  1 -
 13 files changed, 64 insertions(+), 44 deletions(-)
Signature · 1 line
1.8.0