aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2005-05-10 08:48:37 -0400
committerJaroslav Kysela <perex@suse.cz>2005-05-29 04:06:36 -0400
commit3296480674e127601f453db6301bfbcbacb0d123 (patch)
tree47e67ce21e96b5b3e4fc1fa395ed70dbf2330641
parentaafad5629a949d0ad41180f8a746b6cd7654e317 (diff)
[ALSA] ac97 - fix Mic jack sharing on AD1888 codecs
AC97 Codec The code for modifying the center/LFE disable bit on AD1888 codecs accidentally toggled the mute split bit instead. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
-rw-r--r--sound/pci/ac97/ac97_patch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/ac97/ac97_patch.c b/sound/pci/ac97/ac97_patch.c
index 737c4bb94d2a..05efff08ddcc 100644
--- a/sound/pci/ac97/ac97_patch.c
+++ b/sound/pci/ac97/ac97_patch.c
@@ -1507,7 +1507,7 @@ static void ad1888_update_jacks(ac97_t *ac97)
1507 is_shared_linein(ac97) ? 0 : 1 << 12); 1507 is_shared_linein(ac97) ? 0 : 1 << 12);
1508 /* shared Mic */ 1508 /* shared Mic */
1509 snd_ac97_update_bits(ac97, AC97_AD_MISC, 1 << 11, 1509 snd_ac97_update_bits(ac97, AC97_AD_MISC, 1 << 11,
1510 is_shared_micin(ac97) ? 0 : 1 << 13); 1510 is_shared_micin(ac97) ? 0 : 1 << 11);
1511} 1511}
1512 1512
1513static const snd_kcontrol_new_t snd_ac97_ad1888_controls[] = { 1513static const snd_kcontrol_new_t snd_ac97_ad1888_controls[] = {