diff mbox series

[B/C,1/4] ALSA: hda/realtek - Add unplug function into unplug state of Headset Mode for ALC225

Message ID 20190417082545.32012-2-jesse.sung@canonical.com
State New
Headers show
Series Fix realtek pop noise found on some wyse platforms | expand

Commit Message

Wen-chien Jesse Sung April 17, 2019, 8:25 a.m. UTC
From: Kailang Yang <kailang@realtek.com>

BugLink: https://launchpad.net/bugs/1821290

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>
(cherry picked from commit 4d4b0c52bde470c379f5d168d5c139ad866cb808)
Signed-off-by: Wen-chien Jesse Sung <jesse.sung@canonical.com>
---
 sound/pci/hda/patch_realtek.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 025cc23c7334..fcff04522b2a 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -4145,6 +4145,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: