Home Home > GIT Browse > stable
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2019-01-18 07:53:27 +0100
committerJiri Slaby <jslaby@suse.cz>2019-01-18 07:53:31 +0100
commitfca27839348e847ac64e6c94dd7fec199b6630f0 (patch)
tree5d9c49a1cda9b9584d060e0107a30fb86b11492b
parent5a2c19dc97c188b42f7541c621dc685975fb6c7c (diff)
ALSA: hda/realtek - Add unplug function into unplug state of
Headset Mode for ALC225 (bnc#1012628).
-rw-r--r--patches.kernel.org/4.20.3-010-ALSA-hda-realtek-Add-unplug-function-into-unpl.patch37
-rw-r--r--series.conf1
2 files changed, 38 insertions, 0 deletions
diff --git a/patches.kernel.org/4.20.3-010-ALSA-hda-realtek-Add-unplug-function-into-unpl.patch b/patches.kernel.org/4.20.3-010-ALSA-hda-realtek-Add-unplug-function-into-unpl.patch
new file mode 100644
index 0000000000..04bc157cb6
--- /dev/null
+++ b/patches.kernel.org/4.20.3-010-ALSA-hda-realtek-Add-unplug-function-into-unpl.patch
@@ -0,0 +1,37 @@
+From: Kailang Yang <kailang@realtek.com>
+Date: Wed, 9 Jan 2019 16:23:37 +0800
+Subject: [PATCH] ALSA: hda/realtek - Add unplug function into unplug state of
+ Headset Mode for ALC225
+References: bnc#1012628
+Patch-mainline: 4.20.3
+Git-commit: 4d4b0c52bde470c379f5d168d5c139ad866cb808
+
+commit 4d4b0c52bde470c379f5d168d5c139ad866cb808 upstream.
+
+Forgot to add unplug function to unplug state of headset mode
+for ALC225.
+
+Signed-off-by: Kailang Yang <kailang@realtek.com>
+Cc: <stable@vger.kernel.org>
+Signed-off-by: Takashi Iwai <tiwai@suse.de>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+Signed-off-by: Jiri Slaby <jslaby@suse.cz>
+---
+ sound/pci/hda/patch_realtek.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
+index d2c79b672167..d3f1aac41952 100644
+--- a/sound/pci/hda/patch_realtek.c
++++ b/sound/pci/hda/patch_realtek.c
+@@ -4102,6 +4102,7 @@ static void alc_headset_mode_unplugged(struct hda_codec *codec)
+ case 0x10ec0295:
+ case 0x10ec0289:
+ case 0x10ec0299:
++ alc_process_coef_fw(codec, alc225_pre_hsmode);
+ alc_process_coef_fw(codec, coef0225);
+ break;
+ case 0x10ec0867:
+--
+2.20.1
+
diff --git a/series.conf b/series.conf
index 1b16e667a0..c01f06e29c 100644
--- a/series.conf
+++ b/series.conf
@@ -247,6 +247,7 @@
patches.kernel.org/4.20.3-007-cpufreq-scmi-Fix-frequency-invariance-in-slow-.patch
patches.kernel.org/4.20.3-008-x86-modpost-Replace-last-remnants-of-RETPOLINE.patch
patches.kernel.org/4.20.3-009-ALSA-hda-realtek-Support-Dell-headset-mode-for.patch
+ patches.kernel.org/4.20.3-010-ALSA-hda-realtek-Add-unplug-function-into-unpl.patch
########################################################
# Build fixes that apply to the vanilla kernel too.