diff options
author | Takashi Iwai <tiwai@suse.de> | 2007-05-29 12:01:06 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2007-07-20 05:12:00 -0400 |
commit | aafc03398baefaac380b34a1ee6356e7eed8e663 (patch) | |
tree | a0a5945904118366e7c3bd0f7e7c95970f6c9c5d | |
parent | c54728d8aa59283ece86cb745e5085ece8b4eedb (diff) |
[ALSA] hda-codec - Fix input with STAC92xx
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>
-rw-r--r-- | sound/pci/hda/patch_sigmatel.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c index 9b1d433178bf..3f25de72966b 100644 --- a/sound/pci/hda/patch_sigmatel.c +++ b/sound/pci/hda/patch_sigmatel.c | |||
@@ -2266,13 +2266,6 @@ static int patch_stac927x(struct hda_codec *codec) | |||
2266 | 2266 | ||
2267 | codec->patch_ops = stac92xx_patch_ops; | 2267 | codec->patch_ops = stac92xx_patch_ops; |
2268 | 2268 | ||
2269 | /* Fix Mux capture level; max to 2 */ | ||
2270 | snd_hda_override_amp_caps(codec, 0x12, HDA_OUTPUT, | ||
2271 | (0 << AC_AMPCAP_OFFSET_SHIFT) | | ||
2272 | (2 << AC_AMPCAP_NUM_STEPS_SHIFT) | | ||
2273 | (0x27 << AC_AMPCAP_STEP_SIZE_SHIFT) | | ||
2274 | (0 << AC_AMPCAP_MUTE_SHIFT)); | ||
2275 | |||
2276 | return 0; | 2269 | return 0; |
2277 | } | 2270 | } |
2278 | 2271 | ||