mbox series

[v2,0/4] ALSA: Cleanup with snd_ctl_add_followers()

Message ID 20230721071643.3631-1-tiwai@suse.de (mailing list archive)
Headers show
Series ALSA: Cleanup with snd_ctl_add_followers() | expand

Message

Takashi Iwai July 21, 2023, 7:16 a.m. UTC
This is another set of cleanup patches: introduce a new standard
helper for adding vmaster control elements, and replace the open code
in a few drivers with it.


Takashi

===

v1->v2: Cleanup of ac97 patch to drop unnecessary check of the error
        condition

===

Takashi Iwai (4):
  ALSA: vmaster: Add snd_ctl_add_followers() helper
  ALSA: ac97: Use the standard snd_ctl_add_followers() helper
  ALSA: ca0106: Use the standard snd_ctl_add_followers() helper
  ALSA: ice1712: Use the standard snd_ctl_add_followers() helper

 include/sound/control.h         |  3 +++
 sound/core/vmaster.c            | 28 ++++++++++++++++++++++++++++
 sound/pci/ac97/ac97_patch.c     | 16 +---------------
 sound/pci/ca0106/ca0106_mixer.c | 19 ++++++-------------
 sound/pci/ice1712/juli.c        | 19 +++----------------
 sound/pci/ice1712/quartet.c     | 15 +++------------
 6 files changed, 44 insertions(+), 56 deletions(-)