]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ALSA] hda-codec - Fix input with STAC92xx
authorTakashi Iwai <tiwai@suse.de>
Tue, 29 May 2007 16:01:06 +0000 (18:01 +0200)
committerJaroslav Kysela <perex@suse.cz>
Fri, 20 Jul 2007 09:12:00 +0000 (11:12 +0200)
The recent fix for STAC92xx surround outputs broke the input pin
setting for shared line-in and mic jacks.  This patch fixes the
breakage.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/pci/hda/patch_sigmatel.c

index 9b1d433178bf2ee97edf5550c19fae6db750581a..3f25de72966ba05e0cc7f02c347a0f731fd0e2f3 100644 (file)
@@ -2266,13 +2266,6 @@ static int patch_stac927x(struct hda_codec *codec)
 
        codec->patch_ops = stac92xx_patch_ops;
 
-       /* Fix Mux capture level; max to 2 */
-       snd_hda_override_amp_caps(codec, 0x12, HDA_OUTPUT,
-                                 (0 << AC_AMPCAP_OFFSET_SHIFT) |
-                                 (2 << AC_AMPCAP_NUM_STEPS_SHIFT) |
-                                 (0x27 << AC_AMPCAP_STEP_SIZE_SHIFT) |
-                                 (0 << AC_AMPCAP_MUTE_SHIFT));
-
        return 0;
 }