diff options
author | Takashi Iwai <tiwai@suse.de> | 2005-05-27 04:42:45 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2005-05-29 04:15:05 -0400 |
commit | fc232c6e8d618daae212f643587f33d202961861 (patch) | |
tree | d2a0141a0ee8ea01923910e8172ac9fa99628f67 /sound | |
parent | 8e72ab349e54da49cf3e11480581a3e6704d9553 (diff) |
[ALSA] Fix a wrong bit set in AC1985 code
AC97 Codec
Fixed a wrong bit set in AD1985 surround jack controls.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/ac97/ac97_patch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/ac97/ac97_patch.c b/sound/pci/ac97/ac97_patch.c index 5520f5d97490..b81064133c61 100644 --- a/sound/pci/ac97/ac97_patch.c +++ b/sound/pci/ac97/ac97_patch.c | |||
@@ -1604,8 +1604,8 @@ static void ad1985_update_jacks(ac97_t *ac97) | |||
1604 | /* shared Mic */ | 1604 | /* shared Mic */ |
1605 | snd_ac97_update_bits(ac97, AC97_AD_MISC, 1 << 11, | 1605 | snd_ac97_update_bits(ac97, AC97_AD_MISC, 1 << 11, |
1606 | is_shared_micin(ac97) ? 0 : 1 << 11); | 1606 | is_shared_micin(ac97) ? 0 : 1 << 11); |
1607 | snd_ac97_update_bits(ac97, AC97_AD_SERIAL_CFG, 9 << 11, | 1607 | snd_ac97_update_bits(ac97, AC97_AD_SERIAL_CFG, 1 << 9, |
1608 | is_shared_micin(ac97) ? 0 : 9 << 11); | 1608 | is_shared_micin(ac97) ? 0 : 1 << 9); |
1609 | } | 1609 | } |
1610 | 1610 | ||
1611 | static int patch_ad1985_specific(ac97_t *ac97) | 1611 | static int patch_ad1985_specific(ac97_t *ac97) |