Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-05-04 09:04:34 +0200
committerTakashi Iwai <tiwai@suse.de>2019-05-04 09:04:35 +0200
commit017a6f34dcaed446f090f3dd9c3fd52786d121f0 (patch)
treeb25a4a4dec4cae1dd25e4db1c9db7c9367c1ab51
parent513d103e7c34ac533a73e0c89183dfe7fbbd84f3 (diff)
ALSA: hda/realtek - Add new Dell platform for headset mode
(bsc#1051510).
-rw-r--r--patches.drivers/ALSA-hda-realtek-Add-new-Dell-platform-for-headset-m.patch51
-rw-r--r--series.conf1
2 files changed, 52 insertions, 0 deletions
diff --git a/patches.drivers/ALSA-hda-realtek-Add-new-Dell-platform-for-headset-m.patch b/patches.drivers/ALSA-hda-realtek-Add-new-Dell-platform-for-headset-m.patch
new file mode 100644
index 0000000000..343794028f
--- /dev/null
+++ b/patches.drivers/ALSA-hda-realtek-Add-new-Dell-platform-for-headset-m.patch
@@ -0,0 +1,51 @@
+From 0a29c57b76624723b6b00c027e0e992d130ace49 Mon Sep 17 00:00:00 2001
+From: Kailang Yang <kailang@realtek.com>
+Date: Wed, 24 Apr 2019 16:34:25 +0800
+Subject: [PATCH] ALSA: hda/realtek - Add new Dell platform for headset mode
+Git-commit: 0a29c57b76624723b6b00c027e0e992d130ace49
+Patch-mainline: v5.1
+References: bsc#1051510
+
+Add two Dell platform for headset mode.
+
+[ Note: this is a further correction / addition of the previous
+ pin-based quirks for Dell machines; another entry for ALC236 with
+ the d-mic pin 0x12 and an entry for ALC295 -- tiwai ]
+
+Fixes: b26e36b7ef36 ("ALSA: hda/realtek - add two more pin configuration sets to quirk table")
+Signed-off-by: Kailang Yang <kailang@realtek.com>
+Cc: <stable@vger.kernel.org>
+Signed-off-by: Takashi Iwai <tiwai@suse.de>
+
+---
+ sound/pci/hda/patch_realtek.c | 7 +++++++
+ 1 file changed, 7 insertions(+)
+
+diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
+index f5b510f119ed..070749b50eff 100644
+--- a/sound/pci/hda/patch_realtek.c
++++ b/sound/pci/hda/patch_realtek.c
+@@ -7268,6 +7268,10 @@ static const struct snd_hda_pin_quirk alc269_pin_fixup_tbl[] = {
+ {0x21, 0x02211020}),
+ SND_HDA_PIN_QUIRK(0x10ec0236, 0x1028, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE,
+ {0x21, 0x02211020}),
++ SND_HDA_PIN_QUIRK(0x10ec0236, 0x1028, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE,
++ {0x12, 0x40000000},
++ {0x14, 0x90170110},
++ {0x21, 0x02211020}),
+ SND_HDA_PIN_QUIRK(0x10ec0255, 0x1028, "Dell", ALC255_FIXUP_DELL2_MIC_NO_PRESENCE,
+ {0x14, 0x90170110},
+ {0x21, 0x02211020}),
+@@ -7541,6 +7545,9 @@ static const struct snd_hda_pin_quirk alc269_pin_fixup_tbl[] = {
+ {0x12, 0x90a60130},
+ {0x17, 0x90170110},
+ {0x21, 0x04211020}),
++ SND_HDA_PIN_QUIRK(0x10ec0295, 0x1028, "Dell", ALC269_FIXUP_DELL1_MIC_NO_PRESENCE,
++ {0x14, 0x90170110},
++ {0x21, 0x04211020}),
+ SND_HDA_PIN_QUIRK(0x10ec0295, 0x1028, "Dell", ALC269_FIXUP_DELL1_MIC_NO_PRESENCE,
+ ALC295_STANDARD_PINS,
+ {0x17, 0x21014020},
+--
+2.16.4
+
diff --git a/series.conf b/series.conf
index 47ca9974cc..4c8e6a92b8 100644
--- a/series.conf
+++ b/series.conf
@@ -21559,6 +21559,7 @@
patches.suse/tracing-fix-a-memory-leak-by-early-error-exit-in-trace_pid_write.patch
patches.drivers/Input-synaptics-rmi4-write-config-register-values-to.patch
patches.drivers/dmaengine-sh-rcar-dmac-With-cyclic-DMA-residue-0-is-.patch
+ patches.drivers/ALSA-hda-realtek-Add-new-Dell-platform-for-headset-m.patch
# davem/net-next
patches.drivers/ibmvnic-Report-actual-backing-device-speed-and-duple.patch