Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ALSA: hda - fix function names & missing function parameter

Use the correct function names and add a function parameter description
to avoid kernel-doc warnings:

hda_jack.h:97: warning: Function parameter or struct member 'cb' not
described in 'snd_hda_jack_detect_enable_callback'
hda_jack.h:97: warning: expecting prototype for snd_hda_jack_detect_enable().
Prototype was for snd_hda_jack_detect_enable_callback() instead
hda_local.h:441: warning: expecting prototype for _snd_hda_set_pin_ctl().
Prototype was for snd_hda_set_pin_ctl() instead

Fixes: cdd03cedc5b5 ("ALSA: hda - Introduce snd_hda_set_pin_ctl*() helper functions")
Fixes: 5204a05d70d9 ("ALSA: hda - Add DP-MST jack support")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Link: https://patch.msgid.link/20260106185951.2179242-1-rdunlap@infradead.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>

authored by

Randy Dunlap and committed by
Takashi Iwai
b47ce586 0585c53b

+3 -3
+2 -2
sound/hda/common/hda_jack.h
··· 82 82 int dev_id, hda_jack_callback_fn func); 83 83 84 84 /** 85 - * snd_hda_jack_detect_enable - enable the jack-detection 85 + * snd_hda_jack_detect_enable_callback - enable the jack-detection 86 86 * @codec: the HDA codec 87 87 * @nid: pin NID to enable 88 - * @func: callback function to register 88 + * @cb: callback function to register 89 89 * 90 90 * In the case of error, the return value will be a pointer embedded with 91 91 * errno. Check and handle the return value appropriately with standard
+1 -1
sound/hda/common/hda_local.h
··· 424 424 unsigned int val, bool cached); 425 425 426 426 /** 427 - * _snd_hda_set_pin_ctl - Set a pin-control value safely 427 + * snd_hda_set_pin_ctl - Set a pin-control value safely 428 428 * @codec: the codec instance 429 429 * @pin: the pin NID to set the control 430 430 * @val: the pin-control value (AC_PINCTL_* bits)