All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ALSA: HDA: Add access description in __snd_hda_add_vmaster
@ 2021-04-09 21:46 Ranjani Sridharan
  2021-04-10  6:46 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Ranjani Sridharan @ 2021-04-09 21:46 UTC (permalink / raw
  To: alsa-devel; +Cc: tiwai, broonie, 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")
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
---
 sound/pci/hda/hda_codec.c | 1 +
 1 file changed, 1 insertion(+)

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
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ALSA: HDA: Add access description in __snd_hda_add_vmaster
  2021-04-09 21:46 [PATCH] ALSA: HDA: Add access description in __snd_hda_add_vmaster Ranjani Sridharan
@ 2021-04-10  6:46 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2021-04-10  6:46 UTC (permalink / raw
  To: Ranjani Sridharan; +Cc: alsa-devel, broonie

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-04-10  6:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-09 21:46 [PATCH] ALSA: HDA: Add access description in __snd_hda_add_vmaster Ranjani Sridharan
2021-04-10  6:46 ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.