ALSA: control: Fix virtual master creation reference in kernel-doc
PATCH 1/1 ALSA: control: Fix virtual master creation reference in kernel-doc
The snd_ctl_add_follower() comment refers to snd_ctl_create_virtual_master(), but virtual master controls are created with snd_ctl_make_virtual_master(). Correct the helper name.
Fixes 79c7cdd5441f ("ALSA: Add kernel-doc comments to vmaster stuff")
Assisted-by LLM
Signed-off-by Karl Mehltretter <[email protected]>
--- include/sound/control.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/sound/control.h +1 -1
@@ -244,7 +244,7 @@ int _snd_ctl_add_follower(struct snd_kcontrol *master,* @follower: follower element to add * * Add a virtual follower control to the given master element created via -* snd_ctl_create_virtual_master() beforehand. +* snd_ctl_make_virtual_master() beforehand. * * All followers must be the same type (returning the same information * via info callback). The function doesn't check it, so it's your
Signature · 1 line
2.39.5 (Apple Git-154)
Takashi Iwai
AppliedQuoted 8 lines · Karl Mehltretter
The
snd_ctl_add_follower()comment refers tosnd_ctl_create_virtual_master(), but virtual master controls are created withsnd_ctl_make_virtual_master(). Correct the helper name.Fixes 79c7cdd5441f ("ALSA: Add kernel-doc comments to vmaster stuff")Assisted-by LLMSigned-off-by Karl Mehltretter <[email protected]>
Applied to for-next branch. Thanks.
Takashi