aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_realtek.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2008-09-02 09:42:20 -0400
committerTakashi Iwai <tiwai@suse.de>2008-09-02 11:25:35 -0400
commitee979a143cfd999adea8a9e272649a3cd9ec84bc (patch)
treefdd35532e9f0defeded7a8eaf463021c1e31200d /sound/pci/hda/patch_realtek.c
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/hda/patch_realtek.c')
-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 635748b122e9..66025161bd69 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)
14782 if (codec->vendor_id == 0x10ec0663) 14782 if (codec->vendor_id == 0x10ec0663)
14783 spec->init_verbs[spec->num_init_verbs++] = 14783 spec->init_verbs[spec->num_init_verbs++] =
14784 alc663_auto_init_verbs; 14784 alc663_auto_init_verbs;
14785
14786 err = alc_auto_add_mic_boost(codec);
14787 if (err < 0)
14788 return err;
14789
14785 spec->mixers[spec->num_mixers] = alc662_capture_mixer; 14790 spec->mixers[spec->num_mixers] = alc662_capture_mixer;
14786 spec->num_mixers++; 14791 spec->num_mixers++;
14787 return 1; 14792 return 1;