Skip to content

ALSA: Use guard() for spin locks (for the rest legacy stuff)

Takashi Iwai linux-sound 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v1 Latest posting 2/214 patches 0 repliesNew
  2. v1 posting 1/29 of 14 patches 0 repliesSuperseded

Patches in v1 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14ALSA: aoa: Use guard() for spin lockssound/aoa/soundbus/i2sbus/core.c sound/aoa/soundbus/i2sbus/pcm.c+60 -740 replies
2/14ALSA: aoa: Don't split string across linessound/aoa/soundbus/i2sbus/pcm.c+2 -20 replies
3/14ALSA: arm: Use guard() for spin lockssound/arm/aaci.c+68 -800 replies
4/14ALSA: sgio2audio: Use guard() for spin lockssound/mips/sgio2audio.c+5 -150 replies
5/14ALSA: snd-n64: Use guard() for spin lockssound/mips/snd-n64.c+5 -120 replies
6/14ALSA: parisc: Use guard() for spin lockssound/parisc/harmony.c+39 -600 replies
7/14ALSA: snd_ps3: Use guard() for spin lockssound/ppc/snd_ps3.c+5 -160 replies
8/14ALSA: ppc: Use guard() for spin lockssound/ppc/awacs.c sound/ppc/beep.c sound/ppc/burgundy.c +1 more+57 -820 replies
9/14ALSA: line6: Use guard() for spin lockssound/usb/line6/capture.c sound/usb/line6/driver.c sound/usb/line6/midi.c +1 more+29 -430 replies
10/14ALSA: usb: fcp: Use guard() for spin lockssound/usb/fcp.c+7 -100 replies
11/14ALSA: usb-audio: Use guard() for spin lockssound/usb/pcm.c+99 -1070 replies
12/14ALSA: sparc/amd7930: Use guard() for spin lockssound/sparc/amd7930.c+43 -670 replies
13/14ALSA: sparc/cs4231: Use guard() for spin lockssound/sparc/cs4231.c+68 -1360 replies
14/14ALSA: sparc/dbri: Use guard() for spin lockssound/sparc/dbri.c+107 -1210 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH RESEND 00/14] ALSA: Use guard() for spin locks (for the rest legacy stuff)

[ Resending the whole series since the half of patches didn't go out
by some mistake, sorry for inconvenience! ]

Hi,

this is a gleaning work, the cleanup of manual spin locks with guard() for the remaining legacy ALSA drivers.
It also has an additional code style fix for aoa driver, too.

All are about code cleanups, and three should be no functional changes.

Takashi

===

Takashi Iwai (14):
ALSA: aoa: Use guard() for spin locks
ALSA: aoa: Don't split string across lines
ALSA: arm: Use guard() for spin locks
ALSA: sgio2audio: Use guard() for spin locks
ALSA: snd-n64: Use guard() for spin locks
ALSA: parisc: Use guard() for spin locks
ALSA: snd_ps3: Use guard() for spin locks
ALSA: ppc: Use guard() for spin locks
ALSA: line6: Use guard() for spin locks
ALSA: usb: fcp: Use guard() for spin locks
ALSA: usb-audio: Use guard() for spin locks
ALSA: sparc/amd7930: Use guard() for spin locks
ALSA: sparc/cs4231: Use guard() for spin locks
ALSA: sparc/dbri: Use guard() for spin locks

 sound/aoa/soundbus/i2sbus/core.c |   4 +-
 sound/aoa/soundbus/i2sbus/pcm.c  | 130 ++++++++----------
 sound/arm/aaci.c                 | 148 +++++++++-----------
 sound/mips/sgio2audio.c          |  20 +--
 sound/mips/snd-n64.c             |  17 +--
 sound/parisc/harmony.c           |  99 ++++++--------
 sound/ppc/awacs.c                |  24 +---
 sound/ppc/beep.c                 |  17 +--
 sound/ppc/burgundy.c             |  10 +-
 sound/ppc/pmac.c                 |  88 ++++++------
 sound/ppc/snd_ps3.c              |  21 +--
 sound/sparc/amd7930.c            | 110 ++++++---------
 sound/sparc/cs4231.c             | 204 +++++++++------------------
 sound/sparc/dbri.c               | 228 +++++++++++++++----------------
 sound/usb/fcp.c                  |  17 +--
 sound/usb/line6/capture.c        |   6 +-
 sound/usb/line6/driver.c         |  29 ++--
 sound/usb/line6/midi.c           |  10 +-
 sound/usb/line6/pcm.c            |  27 ++--
 sound/usb/pcm.c                  | 206 ++++++++++++++--------------
 20 files changed, 592 insertions(+), 823 deletions(-)
Signature · 1 line
2.50.1