Skip to content

Commit

Permalink
[ALSA] Fix a wrong bit set in AC1985 code
Browse files Browse the repository at this point in the history
AC97 Codec
Fixed a wrong bit set in AD1985 surround jack controls.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Takashi Iwai authored and Jaroslav Kysela committed May 29, 2005
1 parent 8e72ab3 commit fc232c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sound/pci/ac97/ac97_patch.c
Original file line number Diff line number Diff line change
Expand Up @@ -1604,8 +1604,8 @@ static void ad1985_update_jacks(ac97_t *ac97)
/* shared Mic */
snd_ac97_update_bits(ac97, AC97_AD_MISC, 1 << 11,
is_shared_micin(ac97) ? 0 : 1 << 11);
snd_ac97_update_bits(ac97, AC97_AD_SERIAL_CFG, 9 << 11,
is_shared_micin(ac97) ? 0 : 9 << 11);
snd_ac97_update_bits(ac97, AC97_AD_SERIAL_CFG, 1 << 9,
is_shared_micin(ac97) ? 0 : 1 << 9);
}

static int patch_ad1985_specific(ac97_t *ac97)
Expand Down

0 comments on commit fc232c6

Please sign in to comment.