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

Commit fc232c6e authored by Takashi Iwai's avatar Takashi Iwai Committed by Jaroslav Kysela
Browse files

[ALSA] Fix a wrong bit set in AC1985 code



AC97 Codec
Fixed a wrong bit set in AD1985 surround jack controls.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 8e72ab34
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -1604,8 +1604,8 @@ static void ad1985_update_jacks(ac97_t *ac97)
	/* shared Mic */
	/* shared Mic */
	snd_ac97_update_bits(ac97, AC97_AD_MISC, 1 << 11,
	snd_ac97_update_bits(ac97, AC97_AD_MISC, 1 << 11,
			     is_shared_micin(ac97) ? 0 : 1 << 11);
			     is_shared_micin(ac97) ? 0 : 1 << 11);
	snd_ac97_update_bits(ac97, AC97_AD_SERIAL_CFG, 9 << 11,
	snd_ac97_update_bits(ac97, AC97_AD_SERIAL_CFG, 1 << 9,
			     is_shared_micin(ac97) ? 0 : 9 << 11);
			     is_shared_micin(ac97) ? 0 : 1 << 9);
}
}


static int patch_ad1985_specific(ac97_t *ac97)
static int patch_ad1985_specific(ac97_t *ac97)