Explorar o código

[ALSA] ac97 - Fix CLFE channel setting of ALC850

Modules: AC97 Codec

Fix CLFE channel setting of ALC850 (ALSA bug#1731).

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai %!s(int64=19) %!d(string=hai) anos
pai
achega
da79e44df4
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      sound/pci/ac97/ac97_patch.c

+ 2 - 2
sound/pci/ac97/ac97_patch.c

@@ -2235,9 +2235,9 @@ static void alc850_update_jacks(struct snd_ac97 *ac97)
 	/* Vref disable (bit12), 1kOhm (bit13) */
 	/* Vref disable (bit12), 1kOhm (bit13) */
 	snd_ac97_update_bits(ac97, AC97_ALC850_MISC1, (1<<12)|(1<<13),
 	snd_ac97_update_bits(ac97, AC97_ALC850_MISC1, (1<<12)|(1<<13),
 			     shared ? (1<<12) : (1<<13));
 			     shared ? (1<<12) : (1<<13));
-	/* MIC-IN = 1, CENTER-LFE = 2 */
+	/* MIC-IN = 1, CENTER-LFE = 5 */
 	snd_ac97_update_bits(ac97, AC97_ALC850_JACK_SELECT, 7 << 4,
 	snd_ac97_update_bits(ac97, AC97_ALC850_JACK_SELECT, 7 << 4,
-			     shared ? (2<<4) : (1<<4));
+			     shared ? (5<<4) : (1<<4));
 }
 }
 
 
 static const struct snd_kcontrol_new snd_ac97_controls_alc850[] = {
 static const struct snd_kcontrol_new snd_ac97_controls_alc850[] = {