From: Clemens Ladisch Date: Tue, 10 May 2005 12:48:37 +0000 (+0200) Subject: [ALSA] ac97 - fix Mic jack sharing on AD1888 codecs X-Git-Tag: v2.6.13-rc1~68^2~645 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3296480674e127601f453db6301bfbcbacb0d123;p=karo-tx-linux.git [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 --- 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) 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[] = {