ALSA: vmaster: Add snd_ctl_add_followers() helper
authorTakashi Iwai <tiwai@suse.de>
Fri, 21 Jul 2023 07:16:40 +0000 (09:16 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 21 Jul 2023 07:37:47 +0000 (09:37 +0200)
commitae07eb9bf23e1a52cdb28222a71eb014131018d8
tree3f36aecc5b779a1a9c2bbd3c669f3b714a7d19da
parentebc1bfebdacab9e7fd77eec2c5dbcef73980ab00
ALSA: vmaster: Add snd_ctl_add_followers() helper

Add a new helper to add multiple vmaster followers in a shot.  The
same function was open-coded in various places, and this helper
replaces them.

Link: https://lore.kernel.org/r/20230721071643.3631-2-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/control.h
sound/core/vmaster.c