ALSA: hda - Fix wrong auto-mute type for Acer Aspire-one
authorTakashi Iwai <tiwai@suse.de>
Mon, 13 Jun 2011 06:32:06 +0000 (08:32 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 13 Jun 2011 06:32:06 +0000 (08:32 +0200)
The auto-mute setup for Acer Aspire-one with ALC268 was set wrongly
during the clean-up of auto-mute function.  Fixed now.

Tested-by: Borislav Petkov <bp@alien8.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c

index 43fcfbd32847019931bc774bf00ecd20b2887a9b..61a774b3d3cb5e5ad14846815cb58304335835ba 100644 (file)
@@ -13316,9 +13316,8 @@ static void alc268_acer_lc_setup(struct hda_codec *codec)
        struct alc_spec *spec = codec->spec;
        spec->autocfg.hp_pins[0] = 0x15;
        spec->autocfg.speaker_pins[0] = 0x14;
-       spec->automute_mixer_nid[0] = 0x0f;
        spec->automute = 1;
-       spec->automute_mode = ALC_AUTOMUTE_MIXER;
+       spec->automute_mode = ALC_AUTOMUTE_AMP;
        spec->ext_mic.pin = 0x18;
        spec->ext_mic.mux_idx = 0;
        spec->int_mic.pin = 0x12;