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

Axel Lin
2011-10-07T13:35:22Z

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(-)

--
1.7.4.1