]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: hda - fix function names & missing function parameter
authorRandy Dunlap <rdunlap@infradead.org>
Tue, 6 Jan 2026 18:59:51 +0000 (10:59 -0800)
committerTakashi Iwai <tiwai@suse.de>
Wed, 7 Jan 2026 08:05:50 +0000 (09:05 +0100)
commitb47ce586300b3c2b6650f4c7ac5c0f59c6bf6f4b
tree0dd2a8aefc32c025048fb0891985027b8cca14c8
parent0585c53b21541cd6b17ad5ab41b371a0d52e358c
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>
sound/hda/common/hda_jack.h
sound/hda/common/hda_local.h