Skip to content

Tidy up ASoC VALUE control macros

Charles Keepax linux-sound lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest13 patches 2 repliesIn review
  2. v213 patches 3 repliesSuperseded
  3. v112 patches 2 repliesSuperseded

Changes in v3 from the cover letter

- Fix typo in SOC_DOUBLE_RANGE_TLV refactor

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13ASoC: Remove unused helper macroinclude/sound/soc.h+0 -30 replies
2/13ASoC: rt715: Remove duplicate SOC_DOUBLE_R_EXT() helper macrosound/soc/codecs/rt715-sdca.c sound/soc/codecs/rt715.c+0 -160 replies
3/13ASoC: sma1307: Use SOC_SINGLE_EXT() helper macrosound/soc/codecs/sma1307.c+3 -80 replies
4/13ASoC: tas2562: Use SOC_SINGLE_EXT_TLV() helper macrosound/soc/codecs/tas2562.c+3 -110 replies
5/13ASoC: wcd938x: Use SOC_SINGLE_EXT_TLV() helper macrosound/soc/codecs/wcd938x.c+2 -71 reply
6/13ASoC: wm9712: Use SOC_SINGLE_EXT() helper macrosound/soc/codecs/wm9712.c+3 -70 replies
7/13ASoC: wm9713: Use SOC_DOUBLE_EXT() helper macrosound/soc/codecs/wm9713.c+3 -70 replies
8/13ASoC: wsa881x: Use SOC_SINGLE_EXT_TLV() helper macrosound/soc/codecs/wsa881x.c+2 -70 replies
9/13ASoC: atmel: tse850-pcm5142: Use SOC_SINGLE_EXT() helper macrosound/soc/atmel/tse850-pcm5142.c+2 -90 replies
10/13ASoC: dapm: Add missing SOC_DAPM_DOUBLE_R_TLV() helperinclude/sound/soc-dapm.h sound/soc/codecs/jz4760.c sound/soc/codecs/jz4770.c+17 -620 replies
11/13ASoC: dapm: Use ASoC control macros where possibleinclude/sound/soc-dapm.h sound/soc/codecs/adau17x1.c+28 -440 replies
12/13ASoC: Tidy up SOC_DOUBLE_R_* helpersinclude/sound/soc.h+10 -180 replies
13/13ASoC: Tidy up SOC_DOUBLE_* and SOC_SINGLE_* helpersinclude/sound/soc-dapm.h include/sound/soc.h+26 -430 replies

Reviews trailers per patch

1 of 13 patches has a Reviewed-by or Acked-by.

PatchSrinivas Kandagatla
1/13
2/13
3/13
4/13
5/13R-b
6/13
7/13
8/13
9/13
10/13
11/13
12/13
13/13

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

Read the v3 thread

Cover letter [PATCH v3 00/13] Tidy up ASoC VALUE control macros

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.

Change since v2:
- Fix typo in SOC_DOUBLE_RANGE_TLV refactor

Changes since v1:
- Add the missing first patch that I managed to forget in v1. This was stopping the series applying, as it was only in my tree.

Thanks,
Charles

Charles Keepax (13):
ASoC: Remove unused helper macro
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              | 96 +++++++++++---------------------
 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(+), 235 deletions(-)
Signature · 1 line
2.39.5