mbox series

[00/12] Tidy up ASoC VALUE control macros

Message ID 20250226153137.2791938-1-ckeepax@opensource.cirrus.com (mailing list archive)
Headers show
Series Tidy up ASoC VALUE control macros | expand

Message

Charles Keepax Feb. 26, 2025, 3:31 p.m. UTC
Tidy up the ASoC control value macros. Fix some drivers that should be
using core macros that aren't, combine the existing core macros to be
a little more consistent in style, and update the core macros to use
each other where possible.

Thanks,
Charles

Charles Keepax (12):
  ASoC: rt715: Remove duplicate SOC_DOUBLE_R_EXT() helper macro
  ASoC: sma1307: Use SOC_SINGLE_EXT() helper macro
  ASoC: tas2562: Use SOC_SINGLE_EXT_TLV() helper macro
  ASoC: wcd938x: Use SOC_SINGLE_EXT_TLV() helper macro
  ASoC: wm9712: Use SOC_SINGLE_EXT() helper macro
  ASoC: wm9713: Use SOC_DOUBLE_EXT() helper macro
  ASoC: wsa881x: Use SOC_SINGLE_EXT_TLV() helper macro
  ASoC: atmel: tse850-pcm5142: Use SOC_SINGLE_EXT() helper macro
  ASoC: dapm: Add missing SOC_DAPM_DOUBLE_R_TLV() helper
  ASoC: dapm: Use ASoC control macros where possible
  ASoC: Tidy up SOC_DOUBLE_R_* helpers
  ASoC: Tidy up SOC_DOUBLE_* and SOC_SINGLE_* helpers

 include/sound/soc-dapm.h         | 59 +++++++++-----------
 include/sound/soc.h              | 93 ++++++++++++--------------------
 sound/soc/atmel/tse850-pcm5142.c | 11 +---
 sound/soc/codecs/adau17x1.c      | 10 ++--
 sound/soc/codecs/jz4760.c        | 32 ++---------
 sound/soc/codecs/jz4770.c        | 40 +++-----------
 sound/soc/codecs/rt715-sdca.c    |  8 ---
 sound/soc/codecs/rt715.c         |  8 ---
 sound/soc/codecs/sma1307.c       | 11 ++--
 sound/soc/codecs/tas2562.c       | 14 ++---
 sound/soc/codecs/wcd938x.c       |  9 +---
 sound/soc/codecs/wm9712.c        | 10 ++--
 sound/soc/codecs/wm9713.c        | 10 ++--
 sound/soc/codecs/wsa881x.c       |  9 +---
 14 files changed, 92 insertions(+), 232 deletions(-)