mirror of
https://github.com/adulau/aha.git
synced 2025-01-02 14:13:18 +00:00
[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>
This commit is contained in:
parent
363fa1d615
commit
da79e44df4
1 changed files with 2 additions and 2 deletions
|
@ -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[] = {
|
||||||
|
|
Loading…
Reference in a new issue