summaryrefslogtreecommitdiffstats
path: root/sound/pci
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2008-09-02 15:42:20 +0200
committerTakashi Iwai <tiwai@suse.de>2008-09-02 17:25:35 +0200
commitee979a143cfd999adea8a9e272649a3cd9ec84bc (patch)
treefdd35532e9f0defeded7a8eaf463021c1e31200d /sound/pci
parent24fb9173815045ab3f85a670d7df8af5af6ff3be (diff)
ALSA: hda - Add mic-boost controls to ALC662/663 auto configuration
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
-rw-r--r--sound/pci/hda/patch_realtek.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 635748b122e..66025161bd6 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -14782,6 +14782,11 @@ static int alc662_parse_auto_config(struct hda_codec *codec)
if (codec->vendor_id == 0x10ec0663)
spec->init_verbs[spec->num_init_verbs++] =
alc663_auto_init_verbs;
+
+ err = alc_auto_add_mic_boost(codec);
+ if (err < 0)
+ return err;
+
spec->mixers[spec->num_mixers] = alc662_capture_mixer;
spec->num_mixers++;
return 1;