diff options
author | Ranjani Sridharan <ranjani.sridharan@linux.intel.com> | 2021-04-09 23:46:16 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2021-04-10 08:46:03 +0200 |
commit | 618fad3d921a781fe500bdf8cbecbf2c4ec1f696 (patch) | |
tree | a7928ac35edad8233da154fdedd880e6e5bfb0b3 /sound/pci/hda/hda_codec.c | |
parent | ALSA: control - double free in snd_ctl_led_init() (diff) | |
download | linux-618fad3d921a781fe500bdf8cbecbf2c4ec1f696.tar.xz linux-618fad3d921a781fe500bdf8cbecbf2c4ec1f696.zip |
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")
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20210409214616.1539685-1-ranjani.sridharan@linux.intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_codec.c')
-rw-r--r-- | sound/pci/hda/hda_codec.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 |