]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ALSA: hda/realtek: Fix incorrect comment for ALC299_FIXUP_PREDATOR_SPK
authorZhang Heng <zhangheng@kylinos.cn>
Fri, 22 May 2026 06:07:42 +0000 (14:07 +0800)
committerTakashi Iwai <tiwai@suse.de>
Mon, 25 May 2026 07:20:59 +0000 (09:20 +0200)
The comment for the pin configuration 0x21 in the fixup
ALC299_FIXUP_PREDATOR_SPK states "use as headset mic, without its own
jack detect", but the fixup name and the actual usage indicate that the
pin is meant to be used as internal speaker. Correct the comment to
avoid confusion.

Signed-off-by: Zhang Heng <zhangheng@kylinos.cn>
Link: https://patch.msgid.link/20260522060742.1384390-1-zhangheng@kylinos.cn
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/hda/codecs/realtek/alc269.c

index f180d6a720216ccb12818737f0768486fbc6b7b9..53585e20c49490e82e293fdc22bebd7b2af163fb 100644 (file)
@@ -5458,7 +5458,7 @@ static const struct hda_fixup alc269_fixups[] = {
        [ALC299_FIXUP_PREDATOR_SPK] = {
                .type = HDA_FIXUP_PINS,
                .v.pins = (const struct hda_pintbl[]) {
-                       { 0x21, 0x90170150 }, /* use as headset mic, without its own jack detect */
+                       { 0x21, 0x90170150 }, /* use as internal speaker */
                        { }
                }
        },