Commit a0482cb5 authored by Jaroslav Kysela's avatar Jaroslav Kysela

ALSA CVS update - Takashi Iwai <tiwai@suse.de>

Intel8x0 driver
- fixed the 6 channel output on nforce.
  the sample format is once reset to 2 channel mode for aligning the
  samples.
parent 1a9b3804
......@@ -949,6 +949,13 @@ static void snd_intel8x0_setup_multi_channels(intel8x0_t *chip, int channels)
cnt |= ICH_PCM_4;
else if (chip->multi6 && channels == 6)
cnt |= ICH_PCM_6;
if (chip->device_type == DEVICE_NFORCE) {
/* reset to 2ch once to keep the 6 channel data in alignment,
* to start from Front Left always
*/
iputdword(chip, ICHREG(GLOB_CNT), (cnt & 0xcfffff));
mdelay(50); /* grrr... */
}
iputdword(chip, ICHREG(GLOB_CNT), cnt);
break;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment