Skip to content

ALSA: Use auto-cleanup for misc drivers

Takashi Iwai linux-sound 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest19 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/19ALSA: i2c: Use guard() for mutex lockssound/i2c/other/ak4113.c sound/i2c/other/ak4114.c+6 -60 replies
2/19ALSA: i2c: Use guard() for spin lockssound/i2c/other/ak4113.c sound/i2c/other/ak4114.c sound/i2c/other/ak4117.c+58 -630 replies
3/19ALSA: synth: Use guard() for mutex lockssound/synth/emux/emux_proc.c sound/synth/emux/emux_seq.c sound/synth/util_mem.c+12 -280 replies
4/19ALSA: synth: Use guard() for spin lockssound/synth/emux/emux_effect.c sound/synth/emux/emux_synth.c sound/synth/emux/soundfont.c+49 -970 replies
5/19ALSA: synth: Use guard() for preset locksinclude/sound/soundfont.h sound/synth/emux/soundfont.c+30 -440 replies
6/19ALSA: x86: Use guard() for mutex lockssound/x86/intel_hdmi_audio.c+5 -110 replies
7/19ALSA: x86: Use guard() for spin lockssound/x86/intel_hdmi_audio.c+39 -540 replies
8/19ALSA: xen: Use guard() for mutex lockssound/xen/xen_snd_front.c sound/xen/xen_snd_front_evtchnl.c+52 -610 replies
9/19ALSA: at73c213: Use guard() for mutex lockssound/spi/at73c213.c+10 -290 replies
10/19ALSA: pdaudiocf: Use guard() for mutex lockssound/pcmcia/pdaudiocf/pdaudiocf_core.c sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c+13 -150 replies
11/19ALSA: vxpocket: Use guard() for mutex lockssound/pcmcia/vx/vxp_mixer.c sound/pcmcia/vx/vxp_ops.c+5 -100 replies
12/19ALSA: sparc: Use guard() for mutex lockssound/sparc/cs4231.c+6 -150 replies
13/19ALSA: aoa: Use guard() for mutex lockssound/aoa/codecs/onyx.c sound/aoa/codecs/tas.c sound/aoa/core/gpio-feature.c +2 more+112 -2270 replies
14/19ALSA: aaci: Use guard() for mutex lockssound/arm/aaci.c+6 -140 replies
15/19ALSA: pxa2xx: Use guard() for mutex lockssound/arm/pxa2xx-ac97-lib.c+4 -80 replies
16/19ALSA: atmel: Use guard() for mutex lockssound/atmel/ac97c.c+6 -120 replies
17/19ALSA: ac97bus: Use guard() for mutex lockssound/ac97/bus.c+9 -130 replies
18/19ALSA: virtio: Use guard() for spin lockssound/virtio/virtio_card.c sound/virtio/virtio_ctl_msg.c sound/virtio/virtio_pcm.c +2 more+38 -740 replies
19/19ALSA: misc: Use guard() for spin lockssound/core/misc.c+10 -150 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/19] ALSA: Use auto-cleanup for misc drivers

Finally, this is the last piece in my large patch series -- applying the auto-cleanup macros to the remaining legacy stuff such as sound/i2c, sound/synth, etc. Again, merely code cleanup / refactoring and no functional changes are expected.

Takashi

===

Takashi Iwai (19):
ALSA: i2c: Use guard() for mutex locks
ALSA: i2c: Use guard() for spin locks
ALSA: synth: Use guard() for mutex locks
ALSA: synth: Use guard() for spin locks
ALSA: synth: Use guard() for preset locks
ALSA: x86: Use guard() for mutex locks
ALSA: x86: Use guard() for spin locks
ALSA: xen: Use guard() for mutex locks
ALSA: at73c213: Use guard() for mutex locks
ALSA: pdaudiocf: Use guard() for mutex locks
ALSA: vxpocket: Use guard() for mutex locks
ALSA: sparc: Use guard() for mutex locks
ALSA: aoa: Use guard() for mutex locks
ALSA: aaci: Use guard() for mutex locks
ALSA: pxa2xx: Use guard() for mutex locks
ALSA: atmel: Use guard() for mutex locks
ALSA: ac97bus: Use guard() for mutex locks
ALSA: virtio: Use guard() for spin locks
ALSA: misc: Use guard() for spin locks

 include/sound/soundfont.h               |  18 ++++
 sound/ac97/bus.c                        |  22 ++---
 sound/aoa/codecs/onyx.c                 | 104 +++++++--------------
 sound/aoa/codecs/tas.c                  | 113 ++++++++---------------
 sound/aoa/core/gpio-feature.c           |  20 ++---
 sound/aoa/core/gpio-pmf.c               |  26 ++----
 sound/aoa/soundbus/i2sbus/pcm.c         |  76 ++++++----------
 sound/arm/aaci.c                        |  20 ++---
 sound/arm/pxa2xx-ac97-lib.c             |  12 +--
 sound/atmel/ac97c.c                     |  18 ++--
 sound/core/misc.c                       |  25 +++---
 sound/i2c/other/ak4113.c                |  54 ++++++-----
 sound/i2c/other/ak4114.c                |  39 ++++----
 sound/i2c/other/ak4117.c                |  40 ++++-----
 sound/pcmcia/pdaudiocf/pdaudiocf_core.c |   3 +-
 sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c  |  25 +++---
 sound/pcmcia/vx/vxp_mixer.c             |   9 +-
 sound/pcmcia/vx/vxp_ops.c               |   6 +-
 sound/sparc/cs4231.c                    |  21 ++---
 sound/spi/at73c213.c                    |  39 +++-----
 sound/synth/emux/emux_effect.c          |  29 +++---
 sound/synth/emux/emux_proc.c            |   6 +-
 sound/synth/emux/emux_seq.c             |  17 ++--
 sound/synth/emux/emux_synth.c           |  54 +++--------
 sound/synth/emux/soundfont.c            | 115 +++++++-----------------
 sound/synth/util_mem.c                  |  17 ++--
 sound/virtio/virtio_card.c              |   8 +-
 sound/virtio/virtio_ctl_msg.c           |  23 ++---
 sound/virtio/virtio_pcm.c               |   8 +-
 sound/virtio/virtio_pcm_msg.c           |  17 +---
 sound/virtio/virtio_pcm_ops.c           |  56 ++++--------
 sound/x86/intel_hdmi_audio.c            | 109 +++++++++-------------
 sound/xen/xen_snd_front.c               |  80 ++++++++---------
 sound/xen/xen_snd_front_evtchnl.c       |  33 ++++---
 34 files changed, 468 insertions(+), 794 deletions(-)
Signature · 1 line
2.50.1