]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - releases/4.6.5/alsa-hda-realtek-add-new-pin-definition-in-alc225-pin-quirk-table.patch
5.1-stable patches
[thirdparty/kernel/stable-queue.git] / releases / 4.6.5 / alsa-hda-realtek-add-new-pin-definition-in-alc225-pin-quirk-table.patch
1 From 8a132099f080d7384bb6ab4cc168f76cb4b47d08 Mon Sep 17 00:00:00 2001
2 From: Hui Wang <hui.wang@canonical.com>
3 Date: Fri, 8 Jul 2016 14:26:57 +0800
4 Subject: ALSA: hda/realtek - add new pin definition in alc225 pin quirk table
5
6 From: Hui Wang <hui.wang@canonical.com>
7
8 commit 8a132099f080d7384bb6ab4cc168f76cb4b47d08 upstream.
9
10 We have some Dell laptops which can't detect headset mic, the machines
11 use the codec ALC225, they have some new pin configuration values,
12 after adding them in the alc225 pin quirk table, they work well.
13
14 Signed-off-by: Hui Wang <hui.wang@canonical.com>
15 Signed-off-by: Takashi Iwai <tiwai@suse.de>
16 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
17
18 ---
19 sound/pci/hda/patch_realtek.c | 15 ++++++++++++++-
20 1 file changed, 14 insertions(+), 1 deletion(-)
21
22 --- a/sound/pci/hda/patch_realtek.c
23 +++ b/sound/pci/hda/patch_realtek.c
24 @@ -5738,7 +5738,6 @@ static const struct hda_model_fixup alc2
25 {}
26 };
27 #define ALC225_STANDARD_PINS \
28 - {0x12, 0xb7a60130}, \
29 {0x21, 0x04211020}
30
31 #define ALC256_STANDARD_PINS \
32 @@ -5763,10 +5762,24 @@ static const struct hda_model_fixup alc2
33 static const struct snd_hda_pin_quirk alc269_pin_fixup_tbl[] = {
34 SND_HDA_PIN_QUIRK(0x10ec0225, 0x1028, "Dell", ALC225_FIXUP_DELL1_MIC_NO_PRESENCE,
35 ALC225_STANDARD_PINS,
36 + {0x12, 0xb7a60130},
37 {0x14, 0x901701a0}),
38 SND_HDA_PIN_QUIRK(0x10ec0225, 0x1028, "Dell", ALC225_FIXUP_DELL1_MIC_NO_PRESENCE,
39 ALC225_STANDARD_PINS,
40 + {0x12, 0xb7a60130},
41 {0x14, 0x901701b0}),
42 + SND_HDA_PIN_QUIRK(0x10ec0225, 0x1028, "Dell", ALC225_FIXUP_DELL1_MIC_NO_PRESENCE,
43 + ALC225_STANDARD_PINS,
44 + {0x12, 0xb7a60150},
45 + {0x14, 0x901701a0}),
46 + SND_HDA_PIN_QUIRK(0x10ec0225, 0x1028, "Dell", ALC225_FIXUP_DELL1_MIC_NO_PRESENCE,
47 + ALC225_STANDARD_PINS,
48 + {0x12, 0xb7a60150},
49 + {0x14, 0x901701b0}),
50 + SND_HDA_PIN_QUIRK(0x10ec0225, 0x1028, "Dell", ALC225_FIXUP_DELL1_MIC_NO_PRESENCE,
51 + ALC225_STANDARD_PINS,
52 + {0x12, 0xb7a60130},
53 + {0x1b, 0x90170110}),
54 SND_HDA_PIN_QUIRK(0x10ec0255, 0x1028, "Dell", ALC255_FIXUP_DELL2_MIC_NO_PRESENCE,
55 {0x14, 0x90170110},
56 {0x21, 0x02211020}),