Skip to content

ASoC: codecs: Use guard() for mutex & spin locks - part 3

[email protected] linux-arm-msm 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 Latest26 patches 5 repliesIn review
  2. v226 patches 5 repliesSuperseded
  3. v126 patches 11 repliesSuperseded

Changes in v3 from the cover letter

- Remove redundant comments per Cezary Rojewski's review.
- Add Reviewed-by tag from Richard Fitzgerald.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/26ASoC: codecs: sigmadsp: Use guard() for mutex lockssound/soc/codecs/sigmadsp.c+7 -100 replies
2/26ASoC: codecs: sta350: Use guard() for mutex lockssound/soc/codecs/sta350.c+8 -120 replies
3/26ASoC: codecs: sta32x: Use guard() for mutex lockssound/soc/codecs/sta32x.c+9 -120 replies
4/26ASoC: codecs: tas2781: Use guard() for mutex lockssound/soc/codecs/tas2781-comlib-i2c.c sound/soc/codecs/tas2781-i2c.c+15 -230 replies
5/26ASoC: codecs: tas2783: Use guard() for mutex lockssound/soc/codecs/tas2783-sdw.c+29 -310 replies
6/26ASoC: codecs: tas5805m: Use guard() for mutex lockssound/soc/codecs/tas5805m.c+8 -130 replies
7/26ASoC: codecs: tlv320dac33: Use guard() for mutex & spin lockssound/soc/codecs/tlv320dac33.c+36 -510 replies
8/26ASoC: codecs: tscs42xx: Use guard() for mutex lockssound/soc/codecs/tscs42xx.c+19 -420 replies
9/26ASoC: codecs: tscs454: Use guard() for mutex lockssound/soc/codecs/tscs454.c+42 -650 replies
10/26ASoC: codecs: twl6040: Use guard() for mutex lockssound/soc/codecs/twl6040.c+2 -30 replies
11/26ASoC: codecs: wcd-mbhc: Use guard() for mutex lockssound/soc/codecs/wcd-mbhc-v2.c+66 -743 replies
12/26ASoC: codecs: wcd934x: Use guard() for mutex lockssound/soc/codecs/wcd934x.c+15 -270 replies
13/26ASoC: codecs: wcd937x: Use guard() for mutex lockssound/soc/codecs/wcd937x.c+10 -150 replies
14/26ASoC: codecs: wcd938x: Use guard() for mutex lockssound/soc/codecs/wcd938x.c+9 -130 replies
15/26ASoC: codecs: wcd939x: Use guard() for mutex lockssound/soc/codecs/wcd939x.c+7 -130 replies
16/26ASoC: codecs: wm0010: Use guard() for mutex & spin lockssound/soc/codecs/wm0010.c+11 -170 replies
17/26ASoC: codecs: wm2000: Use guard() for mutex lockssound/soc/codecs/wm2000.c+7 -210 replies
18/26ASoC: codecs: wm5102: Use guard() for mutex lockssound/soc/codecs/wm5102.c+9 -140 replies
19/26ASoC: codecs: wm8731: Use guard() for mutex lockssound/soc/codecs/wm8731.c+4 -50 replies
20/26ASoC: codecs: wm8903: Use guard() for mutex lockssound/soc/codecs/wm8903.c+4 -50 replies
21/26ASoC: codecs: wm8958: Use guard() for mutex lockssound/soc/codecs/wm8958-dsp2.c+4 -60 replies
22/26ASoC: codecs: wm8962: Use guard() for mutex lockssound/soc/codecs/wm8962.c+4 -90 replies
23/26ASoC: codecs: wm8994: Use guard() for mutex lockssound/soc/codecs/wm8994.c+8 -220 replies
24/26ASoC: codecs: wm971x: Use guard() for mutex lockssound/soc/codecs/wm9712.c sound/soc/codecs/wm9713.c+4 -60 replies
25/26ASoC: codecs: wm_adsp: Use guard() for mutex lockssound/soc/codecs/wm_adsp.c+23 -540 replies
26/26ASoC: codecs: wsa88xx: Use guard() for mutex lockssound/soc/codecs/wsa883x.c sound/soc/codecs/wsa884x.c+9 -120 replies

Reviews trailers per patch

10 of 26 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchRichard FitzgeraldCezary Rojewski
SeriesR-b
1/26
2/26
3/26
4/26
5/26
6/26
7/26
8/26
9/26
10/26
11/26
12/26
13/26
14/26
15/26
16/26R-b
17/26R-b
18/26R-b
19/26R-b
20/26R-b
21/26R-b
22/26R-b
23/26R-b
24/26R-b
25/26R-b
26/26

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/26] ASoC: codecs: Use guard() for mutex & spin locks - part 3

From: bui duc phuc <[email protected]>

Hi all,

This series is the final part of the cleanup to convert ASoC codec drivers to use the guard() and scoped_guard() helpers for mutex and spinlock handling.

Compile-tested only.

Changes in v3:
- Remove redundant comments per Cezary Rojewski's review.
- Add Reviewed-by tag from Richard Fitzgerald.
Changes in v2:
- Add Reviewed-by tag from Richard Fitzgerald.
- Add the missing guard(mutex) that was inadvertently omitted.

Best regards,
Phuc

bui duc phuc (26):
ASoC: codecs: sigmadsp: Use guard() for mutex locks
ASoC: codecs: sta350: Use guard() for mutex locks
ASoC: codecs: sta32x: Use guard() for mutex locks
ASoC: codecs: tas2781: Use guard() for mutex locks
ASoC: codecs: tas2783: Use guard() for mutex locks
ASoC: codecs: tas5805m: Use guard() for mutex locks
ASoC: codecs: tlv320dac33: Use guard() for mutex & spin locks
ASoC: codecs: tscs42xx: Use guard() for mutex locks
ASoC: codecs: tscs454: Use guard() for mutex locks
ASoC: codecs: twl6040: Use guard() for mutex locks
ASoC: codecs: wcd-mbhc: Use guard() for mutex locks
ASoC: codecs: wcd934x: Use guard() for mutex locks
ASoC: codecs: wcd937x: Use guard() for mutex locks
ASoC: codecs: wcd938x: Use guard() for mutex locks
ASoC: codecs: wcd939x: Use guard() for mutex locks
ASoC: codecs: wm0010: Use guard() for mutex & spin locks
ASoC: codecs: wm2000: Use guard() for mutex locks
ASoC: codecs: wm5102: Use guard() for mutex locks
ASoC: codecs: wm8731: Use guard() for mutex locks
ASoC: codecs: wm8903: Use guard() for mutex locks
ASoC: codecs: wm8958: Use guard() for mutex locks
ASoC: codecs: wm8962: Use guard() for mutex locks
ASoC: codecs: wm8994: Use guard() for mutex locks
ASoC: codecs: wm971x: Use guard() for mutex locks
ASoC: codecs: wm_adsp: Use guard() for mutex locks
ASoC: codecs: wsa88xx: Use guard() for mutex locks

 sound/soc/codecs/sigmadsp.c           |  17 ++--
 sound/soc/codecs/sta32x.c             |  21 ++--
 sound/soc/codecs/sta350.c             |  20 ++--
 sound/soc/codecs/tas2781-comlib-i2c.c |   5 +-
 sound/soc/codecs/tas2781-i2c.c        |  33 +++---
 sound/soc/codecs/tas2783-sdw.c        |  60 ++++++-----
 sound/soc/codecs/tas5805m.c           |  21 ++--
 sound/soc/codecs/tlv320dac33.c        |  87 +++++++---------
 sound/soc/codecs/tscs42xx.c           |  61 ++++-------
 sound/soc/codecs/tscs454.c            | 107 ++++++++------------
 sound/soc/codecs/twl6040.c            |   5 +-
 sound/soc/codecs/wcd-mbhc-v2.c        | 140 ++++++++++++--------------
 sound/soc/codecs/wcd934x.c            |  42 +++-----
 sound/soc/codecs/wcd937x.c            |  25 ++---
 sound/soc/codecs/wcd938x.c            |  22 ++--
 sound/soc/codecs/wcd939x.c            |  20 ++--
 sound/soc/codecs/wm0010.c             |  28 ++----
 sound/soc/codecs/wm2000.c             |  28 ++----
 sound/soc/codecs/wm5102.c             |  23 ++---
 sound/soc/codecs/wm8731.c             |   9 +-
 sound/soc/codecs/wm8903.c             |   9 +-
 sound/soc/codecs/wm8958-dsp2.c        |  10 +-
 sound/soc/codecs/wm8962.c             |  13 +--
 sound/soc/codecs/wm8994.c             |  30 ++----
 sound/soc/codecs/wm9712.c             |   5 +-
 sound/soc/codecs/wm9713.c             |   5 +-
 sound/soc/codecs/wm_adsp.c            |  77 +++++---------
 sound/soc/codecs/wsa883x.c            |  11 +-
 sound/soc/codecs/wsa884x.c            |  10 +-
 29 files changed, 369 insertions(+), 575 deletions(-)
Signature · 1 line
2.43.0