Skip to content

Expand SoundWire enumeration helper coverage

Charles Keepax linux-arm-msm linux-sound lkml 3 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest10 patches 7 repliesApplied
  2. v210 patches 3 repliesSuperseded
  3. v110 patches 5 repliesSuperseded

Changes in v3 from the cover letter

- Corrected some spelling mistakes

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/10soundwire: Always wait for initialisation of unattached devicesdrivers/soundwire/bus.c+0 -30 replies
2/10ASoC: wsa881x: Use new SoundWire enumeration helpersound/soc/codecs/wsa881x.c+4 -60 replies
3/10mfd: cs42l43: Use new SoundWire enumeration helperdrivers/mfd/cs42l43-i2c.c drivers/mfd/cs42l43-sdw.c drivers/mfd/cs42l43.c +1 more+6 -201 reply
4/10ASoC: rt5682: Use new SoundWire enumeration helpersound/soc/codecs/rt5682.c+4 -100 replies
5/10ASoC: pm4125: Use new SoundWire enumeration helpersound/soc/codecs/pm4125.c+3 -80 replies
6/10ASoC: wcd937x: Use new SoundWire enumeration helpersound/soc/codecs/wcd937x.c+3 -80 replies
7/10ASoC: wcd938x: Use new SoundWire enumeration helpersound/soc/codecs/wcd938x.c+3 -80 replies
8/10ASoC: wcd939x: Use new SoundWire enumeration helpersound/soc/codecs/wcd939x.c+3 -80 replies
9/10ASoC: SDCA: Use new SoundWire enumeration helpersound/soc/sdca/sdca_class.c sound/soc/sdca/sdca_class.h+5 -510 replies
10/10ASoC: cs35l56: Remove unnecessary conditionals waiting for enumerationsound/soc/codecs/cs35l56-sdw.c sound/soc/codecs/cs35l56.h+10 -380 replies

Reviews trailers per patch

6 of 10 patches have a Reviewed-by or Acked-by.

PatchSrinivas KandagatlaVinod Koul
1/10A-b
2/10R-b T-b
3/10
4/10
5/10R-b T-b
6/10R-b T-b
7/10R-b T-b
8/10R-b T-b
9/10
10/10

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/10] Expand SoundWire enumeration helper coverage

The patch series in [1] added a new helper to remove common boiler plate waiting for a device to enumerate on SoundWire, however, many devices also wait for enumeration during probe. This series updates things to be suitable such that we can call the same helper at probe time when the unattach_request is not valid.

There is one final step outstanding which is to add a core helper that waits for a device to drop off the bus. This is not include in this series and should be the last step of this process.

Thanks,
Charles

[1] https://lore.kernel.org/linux-sound/[email protected]/

Changes since v1:
- Completely remove the attached flag from cs42l43

Changes since v2:
- Corrected some spelling mistakes

Charles Keepax (10):
soundwire: Always wait for initialisation of unattached devices
ASoC: wsa881x: Use new SoundWire enumeration helper
mfd: cs42l43: Use new SoundWire enumeration helper
ASoC: rt5682: Use new SoundWire enumeration helper
ASoC: pm4125: Use new SoundWire enumeration helper
ASoC: wcd937x: Use new SoundWire enumeration helper
ASoC: wcd938x: Use new SoundWire enumeration helper
ASoC: wcd939x: Use new SoundWire enumeration helper
ASoC: SDCA: Use new SoundWire enumeration helper
ASoC: cs35l56: Remove unnecessary conditionals waiting for enumeration

 drivers/mfd/cs42l43-i2c.c      |  2 --
 drivers/mfd/cs42l43-sdw.c      |  7 -----
 drivers/mfd/cs42l43.c          | 15 ++++------
 drivers/soundwire/bus.c        |  3 --
 include/linux/mfd/cs42l43.h    |  2 --
 sound/soc/codecs/cs35l56-sdw.c | 47 +++++++-----------------------
 sound/soc/codecs/cs35l56.h     |  1 -
 sound/soc/codecs/pm4125.c      | 11 ++-----
 sound/soc/codecs/rt5682.c      | 14 +++------
 sound/soc/codecs/wcd937x.c     | 11 ++-----
 sound/soc/codecs/wcd938x.c     | 11 ++-----
 sound/soc/codecs/wcd939x.c     | 11 ++-----
 sound/soc/codecs/wsa881x.c     | 10 +++----
 sound/soc/sdca/sdca_class.c    | 53 ++++------------------------------
 sound/soc/sdca/sdca_class.h    |  3 --
 15 files changed, 41 insertions(+), 160 deletions(-)
Signature · 1 line
2.47.3