[ALSA] ac97 - fix Mic jack sharing on AD1888 codecs
authorClemens Ladisch <clemens@ladisch.de>
Tue, 10 May 2005 12:48:37 +0000 (14:48 +0200)
committerJaroslav Kysela <perex@suse.cz>
Sun, 29 May 2005 08:06:36 +0000 (10:06 +0200)
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>
sound/pci/ac97/ac97_patch.c

index 737c4bb..05efff0 100644 (file)
@@ -1507,7 +1507,7 @@ static void ad1888_update_jacks(ac97_t *ac97)
                             is_shared_linein(ac97) ? 0 : 1 << 12);
        /* shared Mic */
        snd_ac97_update_bits(ac97, AC97_AD_MISC, 1 << 11,
-                            is_shared_micin(ac97) ? 0 : 1 << 13);
+                            is_shared_micin(ac97) ? 0 : 1 << 11);
 }
 
 static const snd_kcontrol_new_t snd_ac97_ad1888_controls[] = {