Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/11] ALSA: Cleanup with snd_ctl_find_id_mixer()
@ 2023-07-20  8:20 Takashi Iwai
  2023-07-20  8:20 ` [PATCH 01/11] ALSA: control: Introduce snd_ctl_find_id_mixer() Takashi Iwai
                   ` (10 more replies)
  0 siblings, 11 replies; 13+ messages in thread
From: Takashi Iwai @ 2023-07-20  8:20 UTC (permalink / raw)
  To: alsa-devel; +Cc: Takashi Iwai

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(-)

-- 
2.35.3


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2023-07-20 13:03 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-20  8:20 [PATCH 00/11] ALSA: Cleanup with snd_ctl_find_id_mixer() Takashi Iwai
2023-07-20  8:20 ` [PATCH 01/11] ALSA: control: Introduce snd_ctl_find_id_mixer() Takashi Iwai
2023-07-20  8:20 ` [PATCH 02/11] ALSA: ca0106: Simplify with snd_ctl_find_id_mixer() Takashi Iwai
2023-07-20  8:21 ` [PATCH 03/11] ALSA: cs46xx: " Takashi Iwai
2023-07-20  8:21 ` [PATCH 04/11] ALSA: emu10k1: " Takashi Iwai
2023-07-20  8:21 ` [PATCH 05/11] ALSA: es1968: " Takashi Iwai
2023-07-20  8:21 ` [PATCH 06/11] ALSA: ice1712: " Takashi Iwai
2023-07-20  8:21 ` [PATCH 07/11] ALSA: maestro3: " Takashi Iwai
2023-07-20  8:21 ` [PATCH 08/11] ALSA: via82xx: " Takashi Iwai
2023-07-20  8:21 ` [PATCH 09/11] ALSA: cmipci: " Takashi Iwai
2023-07-20  8:21 ` [PATCH 10/11] ASoC: mediatek: mt8188: " Takashi Iwai
2023-07-20 13:02   ` Mark Brown
2023-07-20  8:21 ` [PATCH 11/11] ALSA: ac97: " Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox