aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2011-06-13 02:32:06 -0400
committerTakashi Iwai <tiwai@suse.de>2011-06-13 02:32:06 -0400
commit54463a66b91cf491a7c9af612b0e310babc5fa24 (patch)
tree1a4841c6eab9635613571b50b5c89a2023afa917 /sound
parentac5d4b404e78bd7eb67fc70c2acb437a25497e98 (diff)
ALSA: hda - Fix wrong auto-mute type for Acer Aspire-one
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>
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/hda/patch_realtek.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 43fcfbd32847..61a774b3d3cb 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -13316,9 +13316,8 @@ static void alc268_acer_lc_setup(struct hda_codec *codec)
13316 struct alc_spec *spec = codec->spec; 13316 struct alc_spec *spec = codec->spec;
13317 spec->autocfg.hp_pins[0] = 0x15; 13317 spec->autocfg.hp_pins[0] = 0x15;
13318 spec->autocfg.speaker_pins[0] = 0x14; 13318 spec->autocfg.speaker_pins[0] = 0x14;
13319 spec->automute_mixer_nid[0] = 0x0f;
13320 spec->automute = 1; 13319 spec->automute = 1;
13321 spec->automute_mode = ALC_AUTOMUTE_MIXER; 13320 spec->automute_mode = ALC_AUTOMUTE_AMP;
13322 spec->ext_mic.pin = 0x18; 13321 spec->ext_mic.pin = 0x18;
13323 spec->ext_mic.mux_idx = 0; 13322 spec->ext_mic.mux_idx = 0;
13324 spec->int_mic.pin = 0x12; 13323 spec->int_mic.pin = 0x12;