b/Documentation/sound/alsa/HD-Audio-Models.txt
@@ -55,7 +55,12 @@ ALC66x/67x/892
asus-mode7 ASUS
asus-mode8 ASUS
inv-dmic Inverted internal mic workaround
+
+ALC668
+======
dell-headset-multi Headset jack, which can also be used as mic-in
+ headset-sonicmaster Headset jack and SonicMaster Subwoofer
+ headset-multi-sonicmaster Headset, HP or Mic and SonicMaster Subwoofer
ALC680
======
@@ -4029,7 +4029,13 @@ static void alc_update_headset_mode(struct hda_codec
*codec)
PIN_VREFHIZ);
}
spec->current_headset_mode = new_headset_mode;
-
+ if (codec->core.vendor_id == 0x10ec0668) {
+ if (spec->gen.hs_mic_use_hp_sense && spec->gen.auto_mic) {
+ if (new_headset_mode == ALC_HEADSET_MODE_HEADPHONE)
+ msleep(625);
+ snd_hda_gen_mic_autoswitch(codec, NULL);
+ };
+ }
snd_hda_gen_update_outputs(codec);
}