Skip to content

ALSA: Cleanup with snd_ctl_find_id_mixer()

Takashi Iwai alsa-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11ALSA: control: Introduce snd_ctl_find_id_mixer()include/sound/control.h+22 -00 replies
2/11ALSA: ca0106: Simplify with snd_ctl_find_id_mixer()sound/pci/ca0106/ca0106_mixer.c+3 -120 replies
3/11ALSA: cs46xx: Simplify with snd_ctl_find_id_mixer()sound/pci/cs46xx/cs46xx_lib.c+2 -50 replies
4/11ALSA: emu10k1: Simplify with snd_ctl_find_id_mixer()sound/pci/emu10k1/emumixer.c+1 -100 replies
5/11ALSA: es1968: Simplify with snd_ctl_find_id_mixer()sound/pci/es1968.c+4 -110 replies
6/11ALSA: ice1712: Simplify with snd_ctl_find_id_mixer()sound/pci/ice1712/juli.c sound/pci/ice1712/psc724.c sound/pci/ice1712/quartet.c +1 more+13 -380 replies
7/11ALSA: maestro3: Simplify with snd_ctl_find_id_mixer()sound/pci/maestro3.c+4 -110 replies
8/11ALSA: via82xx: Simplify with snd_ctl_find_id_mixer()sound/pci/via82xx.c+1 -50 replies
9/11ALSA: cmipci: Simplify with snd_ctl_find_id_mixer()sound/pci/cmipci.c+1 -50 replies
10/11ASoC: mediatek: mt8188: Simplify with snd_ctl_find_id_mixer()sound/soc/mediatek/mt8188/mt8188-mt6359.c+1 -111 reply
11/11ALSA: ac97: Simplify with snd_ctl_find_id_mixer()sound/pci/ac97/ac97_patch.c+1 -50 replies

Reviews trailers per patch

1 of 11 patches has a Reviewed-by or Acked-by.

PatchMark Brown
1/11
2/11
3/11
4/11
5/11
6/11
7/11
8/11
9/11
10/11A-b
11/11

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/11] ALSA: Cleanup with snd_ctl_find_id_mixer()

Quite a few drivers have the very same open code to find a control element from the given name string. Provide a standard helper and replace with it for cleanup.

Takashi

===

Takashi Iwai (11):
ALSA: control: Introduce snd_ctl_find_id_mixer()
ALSA: ca0106: Simplify with snd_ctl_find_id_mixer()
ALSA: cs46xx: Simplify with snd_ctl_find_id_mixer()
ALSA: emu10k1: Simplify with snd_ctl_find_id_mixer()
ALSA: es1968: Simplify with snd_ctl_find_id_mixer()
ALSA: ice1712: Simplify with snd_ctl_find_id_mixer()
ALSA: maestro3: Simplify with snd_ctl_find_id_mixer()
ALSA: via82xx: Simplify with snd_ctl_find_id_mixer()
ALSA: cmipci: Simplify with snd_ctl_find_id_mixer()
ASoC: mediatek: mt8188: Simplify with snd_ctl_find_id_mixer()
ALSA: ac97: Simplify with snd_ctl_find_id_mixer()

 include/sound/control.h                   | 22 ++++++++++++++++++++++
 sound/pci/ac97/ac97_patch.c               |  6 +-----
 sound/pci/ca0106/ca0106_mixer.c           | 15 +++------------
 sound/pci/cmipci.c                        |  6 +-----
 sound/pci/cs46xx/cs46xx_lib.c             |  7 ++-----
 sound/pci/emu10k1/emumixer.c              | 11 +----------
 sound/pci/es1968.c                        | 15 ++++-----------
 sound/pci/ice1712/juli.c                  | 13 ++-----------
 sound/pci/ice1712/psc724.c                | 19 ++++++++-----------
 sound/pci/ice1712/quartet.c               | 13 ++-----------
 sound/pci/ice1712/wm8776.c                |  6 +-----
 sound/pci/maestro3.c                      | 15 ++++-----------
 sound/pci/via82xx.c                       |  6 +-----
 sound/soc/mediatek/mt8188/mt8188-mt6359.c | 12 +-----------
 14 files changed, 53 insertions(+), 113 deletions(-)
Signature · 1 line
2.35.3