[PATCH] ALSA: control: Fix virtual master creation reference in kernel-doc

Karl Mehltretter posted 1 patch 1 week, 6 days ago
include/sound/control.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] ALSA: control: Fix virtual master creation reference in kernel-doc
Posted by Karl Mehltretter 1 week, 6 days ago
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 <kmehltretter@gmail.com>
---
 include/sound/control.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/sound/control.h b/include/sound/control.h
index 909db0d0485df11385769367b484daaaf56905f8..37e9c545503e5fda45ed5d9a7fdfba3ad060fd67 100644
--- a/include/sound/control.h
+++ b/include/sound/control.h
@@ -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
-- 
2.39.5 (Apple Git-154)
Re: [PATCH] ALSA: control: Fix virtual master creation reference in kernel-doc
Posted by Takashi Iwai 1 week, 5 days ago
On Sat, 12 Sep 2026 12:05:48 +0200,
Karl Mehltretter wrote:
> 
> 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 <kmehltretter@gmail.com>

Applied to for-next branch.  Thanks.


Takashi