Skip to content

ASoC/arizona: Ensure pin searches use widget name prefix

Richard Fitzgerald alsa-devel linux-input lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 8 repliesIn review
  2. v15 patches 6 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5ASoC: core: Add component pin control functionsinclude/sound/soc.h sound/soc/soc-utils.c+219 -01 reply
2/5ASoC: arizona: Use component pin control functionssound/soc/codecs/arizona.c sound/soc/codecs/cs47l24.c sound/soc/codecs/wm5102.c +3 more+18 -91 reply
3/5regulator: arizona-micsupp: Use SoC component pin control functionsdrivers/regulator/arizona-micsupp.c+4 -20 replies
4/5extcon: arizona: Use SoC component pin control functionsdrivers/extcon/extcon-arizona.c+5 -33 replies
5/5Input: arizona-haptics - Use SoC component pin control functionsdrivers/input/misc/arizona-haptics.c+9 -43 replies

Reviews trailers per patch

2 of 5 patches have a Reviewed-by or Acked-by.

PatchDmitry TorokhovChanwoo Choi
1/5
2/5
3/5
4/5A-b
5/5A-b

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

Read the v2 thread

Cover letter [PATCH V2 0/5] ASoC/arizona: Ensure pin searches use widget name prefix

The name of a codec pin can have an optional prefix string, which is defined by the audio machine driver. The snd_soc_dapm_x_pin functions take the fully-specified name including the prefix and so the existing code would fail to find the pin if the audio machine driver had added a prefix.

This patch chain adds new helper functions that take a non-prefixed name for a specific ASoC component and internally add that component's prefix. The other patches update the arizona drivers to use these new functions.

Richard Fitzgerald (5):
ASoC: core: Add component pin control functions
ASoC: arizona: Use component pin control functions
regulator: arizona-micsupp: Use SoC component pin control functions
extcon: arizona: Use SoC component pin control functions
Input: arizona-haptics - Use SoC component pin control functions

 drivers/extcon/extcon-arizona.c      |   8 +-
 drivers/input/misc/arizona-haptics.c |  13 ++-
 drivers/regulator/arizona-micsupp.c  |   6 +-
 include/sound/soc.h                  |  20 ++++
 sound/soc/codecs/arizona.c           |  12 ++-
 sound/soc/codecs/cs47l24.c           |   3 +-
 sound/soc/codecs/wm5102.c            |   3 +-
 sound/soc/codecs/wm5110.c            |   3 +-
 sound/soc/codecs/wm8997.c            |   3 +-
 sound/soc/codecs/wm8998.c            |   3 +-
 sound/soc/soc-utils.c                | 199 +++++++++++++++++++++++++++++++++++
 11 files changed, 255 insertions(+), 18 deletions(-)
Signature · 1 line
1.9.1