diff mbox series

ALSA: HDA: Add access description in __snd_hda_add_vmaster

Message ID 20210409214616.1539685-1-ranjani.sridharan@linux.intel.com
State Accepted
Commit 618fad3d921a781fe500bdf8cbecbf2c4ec1f696
Headers show
Series ALSA: HDA: Add access description in __snd_hda_add_vmaster | expand

Commit Message

Ranjani Sridharan April 9, 2021, 9:46 p.m. UTC
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")
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
---
 sound/pci/hda/hda_codec.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Takashi Iwai April 10, 2021, 6:46 a.m. UTC | #1
On Fri, 09 Apr 2021 23:46:16 +0200,
Ranjani Sridharan wrote:
> 
> 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")
> Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>

Thanks, applied now.


Takashi
diff mbox series

Patch

diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c
index e54e39b35709..a31009afc025 100644
--- a/sound/pci/hda/hda_codec.c
+++ b/sound/pci/hda/hda_codec.c
@@ -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