Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 32964806 authored by Clemens Ladisch's avatar Clemens Ladisch Committed by Jaroslav Kysela
Browse files

[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: default avatarClemens Ladisch <clemens@ladisch.de>
parent aafad562
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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[] = {