Skip to contentSkip to conversation

ALSA: HDA: Add access description in __snd_hda_add_vmaster

PATCH Applied Ranjani Sridharan 2 participants 2 messages Apr 9, 2021 – Apr 10, 2021 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ALSA: HDA: Add access description in __snd_hda_add_vmaster

Add description for access parameter in __snd_hda_add_vmaster()
to prevent the compilation warning:
warning: Function parameter or member 'access' not described in '__snd_hda_add_vmaster'

Fixes e65bf99718b5 ("ALSA: HDA - remove the custom implementation for the audio LED trigger")
---
 sound/pci/hda/hda_codec.c | 1 +
 1 file changed, 1 insertion(+)
sound/pci/hda/hda_codec.c +1 -0
index e54e39b35709..a31009afc025 100644
@@ -1938,6 +1938,7 @@ static int add_follower(struct hda_codec *codec,
  * @followers: follower control names (optional)
  * @suffix: suffix string to each follower name (optional)
  * @init_follower_vol: initialize followers to unmute/0dB
+ * @access: kcontrol access rights
  * @ctl_ret: store the vmaster kcontrol in return
  *
  * Create a virtual master control with the given name.  The TLV data
Signature · 1 line
2.25.1
Applied
#1 lore raw
Quoted 7 lines · Ranjani Sridharan

Add description for access parameter in __snd_hda_add_vmaster()
to prevent the compilation warning:
warning: Function parameter or member 'access' not described in '__snd_hda_add_vmaster'

Fixes e65bf99718b5 ("ALSA: HDA - remove the custom implementation for the audio LED trigger")

Thanks, applied now.

Takashi