]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ALSA: hda/realtek - Fixed Headphone noise issue for Dell QCM1255
authorKailang Yang <kailang@realtek.com>
Thu, 9 Jul 2026 06:57:06 +0000 (14:57 +0800)
committerTakashi Iwai <tiwai@suse.de>
Thu, 9 Jul 2026 09:12:59 +0000 (11:12 +0200)
This platform booted with Ubuntu 24.04 with Pipewire audio server. So,
it has pop noise with headphone. But it's normal with Pulseaudio server.
This patch was the workaround. Connect the headphones to DAC 0x2.
The popping sound will disappear.

Signed-off-by: Kailang Yang <kailang@realtek.com>
Link: https://lore.kernel.org/34b990cb56914148ba02fa8e9d176479@realtek.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/hda/codecs/realtek/alc269.c

index 02cc3f6b378d76e5ba556e658c69c16ec43340e3..2fc25be99ca681ab4f6d0d86bb2130d4d3919f8a 100644 (file)
@@ -4172,6 +4172,7 @@ enum {
        ALC256_FIXUP_HONOR_MRB_XXX_M1020_AUDIO,
        ALC245_FIXUP_HP_ENVY_X360_15_FH0XXX,
        ALC287_FIXUP_ACER_MICMUTE_LED,
+       ALC236_FIXUP_DELL_HP_POP_NOISE,
 };
 
 /* A special fixup for Lenovo C940 and Yoga Duet 7;
@@ -6779,6 +6780,10 @@ static const struct hda_fixup alc269_fixups[] = {
                .chained = true,
                .chain_id = ALC2XX_FIXUP_HEADSET_MIC,
        },
+       [ALC236_FIXUP_DELL_HP_POP_NOISE] = {
+               .type = HDA_FIXUP_FUNC,
+               .v.func = alc285_fixup_invalidate_dacs,
+       },
 };
 
 static const struct hda_quirk alc269_fixup_tbl[] = {
@@ -6930,6 +6935,8 @@ static const struct hda_quirk alc269_fixup_tbl[] = {
        SND_PCI_QUIRK(0x1028, 0x0cc3, "Dell Oasis 14 Low Weight MTL-U", ALC289_FIXUP_DELL_CS35L41_SPI_2),
        SND_PCI_QUIRK(0x1028, 0x0cc4, "Dell Oasis 16 MTL-H/U", ALC289_FIXUP_DELL_CS35L41_SPI_2),
        SND_PCI_QUIRK(0x1028, 0x0cc5, "Dell Oasis 14", ALC289_FIXUP_RTK_AMP_DUAL_SPK),
+       SND_PCI_QUIRK(0x1028, 0x0e6b, "Dell Pro QCM1255", ALC236_FIXUP_DELL_HP_POP_NOISE),
+       SND_PCI_QUIRK(0x1028, 0x0e6d, "Dell Pro Micro QCM1255", ALC236_FIXUP_DELL_HP_POP_NOISE),
        SND_PCI_QUIRK(0x1028, 0x164a, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE),
        SND_PCI_QUIRK(0x1028, 0x164b, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE),
        SND_PCI_QUIRK(0x103c, 0x1586, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC2),