[PATCH] ALSA: hda - add missing documentation to hdac_i915
Kai Vehmanen
kai.vehmanen at linux.intel.com
Thu Sep 24 17:40:43 CEST 2020
Document missing function arguments and fix make W=1
warning:
sound/hda/hdac_i915.c:80: warning: Function parameter or member 'i915' not described in 'connectivity_check'
sound/hda/hdac_i915.c:80: warning: Function parameter or member 'hdac' not described in 'connectivity_check'
Fixes: 7b882fe3e3e8 ('ALSA: hda - handle multiple i915 device instances')
Signed-off-by: Kai Vehmanen <kai.vehmanen at linux.intel.com>
---
sound/hda/hdac_i915.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sound/hda/hdac_i915.c b/sound/hda/hdac_i915.c
index d236e497435d..9592d0c0c254 100644
--- a/sound/hda/hdac_i915.c
+++ b/sound/hda/hdac_i915.c
@@ -75,6 +75,8 @@ EXPORT_SYMBOL_GPL(snd_hdac_i915_set_bclk);
/**
* Returns true if the devices can be connected for audio.
+ * @i915: i915 PCI device
+ * @hdac: HDA audio controller PCI device
*/
static bool connectivity_check(struct pci_dev *i915, struct pci_dev *hdac)
{
--
2.27.0
More information about the Alsa-devel
mailing list