]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blame - releases/4.6.1/alsa-hda-fix-headphone-noise-on-dell-xps-13-9360.patch
4.9-stable patches
[thirdparty/kernel/stable-queue.git] / releases / 4.6.1 / alsa-hda-fix-headphone-noise-on-dell-xps-13-9360.patch
CommitLineData
dcf4d15d
GKH
1From 423cd785619ac6778252fbdb916505aa1c153959 Mon Sep 17 00:00:00 2001
2From: Kai-Heng Feng <kaihengfeng@gmail.com>
3Date: Fri, 20 May 2016 15:47:23 +0800
4Subject: ALSA: hda - Fix headphone noise on Dell XPS 13 9360
5
6From: Kai-Heng Feng <kaihengfeng@gmail.com>
7
8commit 423cd785619ac6778252fbdb916505aa1c153959 upstream.
9
10The headphone has noise when playing sound or switching microphone sources.
11It uses the same codec on XPS 13 9350, but with different subsystem ID.
12Applying the fixup can solve the issue.
13Also, changing the model name to better differentiate models.
14
15v2: Reorder by device ID.
16
17Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
18Signed-off-by: Takashi Iwai <tiwai@suse.de>
19Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
20
21---
22 sound/pci/hda/patch_realtek.c | 3 ++-
23 1 file changed, 2 insertions(+), 1 deletion(-)
24
25--- a/sound/pci/hda/patch_realtek.c
26+++ b/sound/pci/hda/patch_realtek.c
27@@ -5466,8 +5466,9 @@ static const struct snd_pci_quirk alc269
28 SND_PCI_QUIRK(0x1028, 0x06de, "Dell", ALC293_FIXUP_DISABLE_AAMIX_MULTIJACK),
29 SND_PCI_QUIRK(0x1028, 0x06df, "Dell", ALC293_FIXUP_DISABLE_AAMIX_MULTIJACK),
30 SND_PCI_QUIRK(0x1028, 0x06e0, "Dell", ALC293_FIXUP_DISABLE_AAMIX_MULTIJACK),
31- SND_PCI_QUIRK(0x1028, 0x0704, "Dell XPS 13", ALC256_FIXUP_DELL_XPS_13_HEADPHONE_NOISE),
32+ SND_PCI_QUIRK(0x1028, 0x0704, "Dell XPS 13 9350", ALC256_FIXUP_DELL_XPS_13_HEADPHONE_NOISE),
33 SND_PCI_QUIRK(0x1028, 0x0725, "Dell Inspiron 3162", ALC255_FIXUP_DELL_SPK_NOISE),
34+ SND_PCI_QUIRK(0x1028, 0x075b, "Dell XPS 13 9360", ALC256_FIXUP_DELL_XPS_13_HEADPHONE_NOISE),
35 SND_PCI_QUIRK(0x1028, 0x164a, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE),
36 SND_PCI_QUIRK(0x1028, 0x164b, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE),
37 SND_PCI_QUIRK(0x103c, 0x1586, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC2),