]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ALSA: hda - Add mic-boost controls to ALC662/663 auto configuration
authorTakashi Iwai <tiwai@suse.de>
Tue, 2 Sep 2008 13:42:20 +0000 (15:42 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 2 Sep 2008 15:25:35 +0000 (17:25 +0200)
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c

index 635748b122e9441a390328c4a0c91defd1476491..66025161bd69fc0496973e1b9ee04fddc000c8d3 100644 (file)
@@ -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;