From: Kailang Yang Date: Wed, 9 Jan 2019 08:23:37 +0000 (+0800) Subject: ALSA: hda/realtek - Add unplug function into unplug state of Headset Mode for ALC225 X-Git-Tag: v4.14.94~24 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=cd5a27c87820dd613518243c6422d1ea59b4759c;p=users%2Fjedix%2Flinux-maple.git ALSA: hda/realtek - Add unplug function into unplug state of Headset Mode for ALC225 commit 4d4b0c52bde470c379f5d168d5c139ad866cb808 upstream. Forgot to add unplug function to unplug state of headset mode for ALC225. Signed-off-by: Kailang Yang Cc: Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 6f146f13851c..fb8a242d724c 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -4005,6 +4005,7 @@ static void alc_headset_mode_unplugged(struct hda_codec *codec) case 0x10ec0225: case 0x10ec0295: case 0x10ec0299: + alc_process_coef_fw(codec, alc225_pre_hsmode); alc_process_coef_fw(codec, coef0225); break; case 0x10ec0867: