Skip to content

Tidy up device ID reading on legacy Cirrus parts

Charles Keepax alsa-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10ASoC: cirrus: Add helper function for reading the device IDsound/soc/codecs/cirrus_legacy.h+21 -00 replies
2/10ASoC: cs35l32: Minor error paths fixupssound/soc/codecs/cs35l32.c+18 -160 replies
3/10ASoC: cs35l33: Minor error paths fixupssound/soc/codecs/cs35l33.c+9 -60 replies
4/10ASoC: cs35l34: Minor error paths fixupssound/soc/codecs/cs35l34.c+22 -170 replies
5/10ASoC: cs35l35: Minor error paths fixupssound/soc/codecs/cs35l35.c+8 -90 replies
6/10ASoC: cs35l35: Correct errata handlingsound/soc/codecs/cs35l35.c sound/soc/codecs/cs35l35.h+3 -20 replies
7/10ASoC: cs42l42: Minor error paths fixupssound/soc/codecs/cs42l42.c+8 -100 replies
8/10ASoC: cs42l73: Minor error paths fixupssound/soc/codecs/cs42l73.c+17 -130 replies
9/10ASoC: cs43130: Minor error paths fixupssound/soc/codecs/cs43130.c+19 -120 replies
10/10ASoC: cs53l30: Minor error paths fixupssound/soc/codecs/cs53l30.c+11 -110 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/10] Tidy up device ID reading on legacy Cirrus parts

Pierre requested I have a look at some cppcheck warnings in the cs42l42 driver, since it is reassigning the ret variable without ever checking the result. Looking a bit more broadly this happens in quite a few legacy Cirrus parts, as they all use the same process to read the ID, factor out a small helper so they can all share the same code. Whilst in there fix up a couple of other trivial error path issues as well.

Thanks,
Charles

Charles Keepax (10):
ASoC: cirrus: Add helper function for reading the device ID
ASoC: cs35l32: Minor error paths fixups
ASoC: cs35l33: Minor error paths fixups
ASoC: cs35l34: Minor error paths fixups
ASoC: cs35l35: Minor error paths fixups
ASoC: cs35l35: Correct errata handling

  ASoC: cs42l42:  Minor error paths fixups
  ASoC: cs42l73:  Minor error paths fixups
  ASoC: cs43130:  Minor error paths fixups
  ASoC: cs53l30:  Minor error paths fixups
 sound/soc/codecs/cirrus_legacy.h | 21 +++++++++++++++++++++
 sound/soc/codecs/cs35l32.c       | 34 ++++++++++++++++++----------------
 sound/soc/codecs/cs35l33.c       | 15 +++++++++------
 sound/soc/codecs/cs35l34.c       | 39 ++++++++++++++++++++++-----------------
 sound/soc/codecs/cs35l35.c       | 21 ++++++++++-----------
 sound/soc/codecs/cs35l35.h       |  1 +
 sound/soc/codecs/cs42l42.c       | 18 ++++++++----------
 sound/soc/codecs/cs42l73.c       | 30 +++++++++++++++++-------------
 sound/soc/codecs/cs43130.c       | 31 +++++++++++++++++++------------
 sound/soc/codecs/cs53l30.c       | 22 +++++++++++-----------
 10 files changed, 136 insertions(+), 96 deletions(-)
 create mode 100644 sound/soc/codecs/cirrus_legacy.h
Signature · 1 line
2.11.0