Skip to content

Convert wm8xxx codec drivers to use snd_soc_write/snd_soc_cache_sync

Axel Lin alsa-devel lkml 4 versions – Applied

Status from this message: Applied all, thanks.

Get series with b4
b4 am 1317994508.9906.1.camel@phoenix

Versions newest first · linked by author and title

  1. v3 Latest10 patches 1 replyApplied
  2. v2 posting 2/211 patches 3 repliesSuperseded
  3. v2 posting 1/21 of 10 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v110 patches8 repliesSuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/10ASoC: wm8510: Convert to snd_soc_cache_syncsound/soc/codecs/wm8510.c+2 -111 reply
2/10ASoC: wm8711: Convert to snd_soc_cache_syncsound/soc/codecs/wm8711.c+3 -120 replies
3/10ASoC: wm8731: Convert to snd_soc_cache_syncsound/soc/codecs/wm8731.c+2 -130 replies
4/10ASoC: wm8750: Convert to snd_soc_cache_syncsound/soc/codecs/wm8750.c+2 -140 replies
5/10ASoC: wm8776: Convert to snd_soc_cache_syncsound/soc/codecs/wm8776.c+2 -140 replies
6/10ASoC: wm8940: Convert to snd_soc_cache_syncsound/soc/codecs/wm8940.c+22 -240 replies
7/10ASoC: wm8960: Convert to snd_soc_cache_syncsound/soc/codecs/wm8960.c+5 -100 replies
8/10ASoC: wm8971: Convert to snd_soc_cache_syncsound/soc/codecs/wm8971.c+3 -120 replies
9/10ASoC: wm8974: Convert to snd_soc_cache_syncsound/soc/codecs/wm8974.c+2 -110 replies
10/10ASoC: wm8988: Convert to snd_soc_cache_syncsound/soc/codecs/wm8988.c+2 -150 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH v3 00/10] Convert wm8xxx codec drivers to use snd_soc_write/snd_soc_cache_sync

This serial converts the wm8xxx codec drivers to use snd_soc_cache_sync. I don't have these hardware, but I assume Mark has all these hardware. These patches are UNTESTED. I'd appreciate if someone can test it. (Current code is broken anyway, thus we need convert to use new API. )

v3: use snd_soc_cache_sync to replace customized xxxx_sync_cache() calls.
Drop wm8990 patch in v2, which is already merged.
I also change the subject line back to be the same as v1. ( we are using snd_soc_cache_sync now, not snd_soc_write )

v2: For 7, 9 CODECs that are write only, convert to using cache_bypass + snd_soc_write
v2 also includes wm8990 that I had sent separately.

Axel Lin (10):
ASoC: wm8510: Convert to snd_soc_cache_sync
ASoC: wm8711: Convert to snd_soc_cache_sync
ASoC: wm8731: Convert to snd_soc_cache_sync
ASoC: wm8750: Convert to snd_soc_cache_sync
ASoC: wm8776: Convert to snd_soc_cache_sync
ASoC: wm8940: Convert to snd_soc_cache_sync
ASoC: wm8960: Convert to snd_soc_cache_sync
ASoC: wm8971: Convert to snd_soc_cache_sync
ASoC: wm8974: Convert to snd_soc_cache_sync
ASoC: wm8988: Convert to snd_soc_cache_sync

 sound/soc/codecs/wm8510.c |   13 +----------
 sound/soc/codecs/wm8711.c |   15 ++-----------
 sound/soc/codecs/wm8731.c |   15 +------------
 sound/soc/codecs/wm8750.c |   16 +-------------
 sound/soc/codecs/wm8776.c |   16 +-------------
 sound/soc/codecs/wm8940.c |   46 +++++++++++++++++++++-----------------------
 sound/soc/codecs/wm8960.c |   14 +++---------
 sound/soc/codecs/wm8971.c |   15 ++-----------
 sound/soc/codecs/wm8974.c |   13 +----------
 sound/soc/codecs/wm8988.c |   17 +--------------
 10 files changed, 44 insertions(+), 136 deletions(-)
Signature · 1 line
1.7.4.1