ALSA: hda/realtek - Add unplug function into unplug state of Headset Mode for ALC225
authorKailang Yang <[email protected]>
Wed, 9 Jan 2019 08:23:37 +0000 (16:23 +0800)
committerTakashi Iwai <[email protected]>
Wed, 9 Jan 2019 09:21:57 +0000 (10:21 +0100)
Forgot to add unplug function to unplug state of headset mode
for ALC225.

Signed-off-by: Kailang Yang <[email protected]>
Cc: <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
sound/pci/hda/patch_realtek.c

index 396ec43a2a54db34debac8af502663d50b3d337a..2c5c8ad84783f33eba1319be603285b921bfff06 100644 (file)
@@ -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: