summaryrefslogtreecommitdiff
path: root/sound/pci/au88x0/au88x0_pcm.c
diff options
context:
space:
mode:
authorRaymond Yau <superquad.vortex2@gmail.com>2012-01-07 10:35:17 +0400
committerTakashi Iwai <tiwai@suse.de>2012-01-08 17:39:26 +0400
commitfb65c2dfe60d38be6b9193d0b85e66e780cd4373 (patch)
tree3d7d1c943f145a2f6ce7cd9ccc8e35f3eb0be614 /sound/pci/au88x0/au88x0_pcm.c
parent3ae4e1f7a0dab95f7e6049272cdb59c7bdc34365 (diff)
downloadlinux-fb65c2dfe60d38be6b9193d0b85e66e780cd4373.tar.xz
ALSA: Au88x0 - Fix channels swapping of 4 channels playback
Fix channels swapping of 4 channels playback by using vortex_adbdma_stopfifo instead of vortex_adbdma_pausefifo for SNDRV_PCM_TRIGGER_STOP event Signed-off-by: Raymond Yau <superquad.vortex2@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/au88x0/au88x0_pcm.c')
-rw-r--r--sound/pci/au88x0/au88x0_pcm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/pci/au88x0/au88x0_pcm.c b/sound/pci/au88x0/au88x0_pcm.c
index 509969038ac5..0488633ea874 100644
--- a/sound/pci/au88x0/au88x0_pcm.c
+++ b/sound/pci/au88x0/au88x0_pcm.c
@@ -353,8 +353,7 @@ static int snd_vortex_pcm_trigger(struct snd_pcm_substream *substream, int cmd)
//printk(KERN_INFO "vortex: stop %d\n", dma);
stream->fifo_enabled = 0;
if (VORTEX_PCM_TYPE(substream->pcm) != VORTEX_PCM_WT)
- vortex_adbdma_pausefifo(chip, dma);
- //vortex_adbdma_stopfifo(chip, dma);
+ vortex_adbdma_stopfifo(chip, dma);
#ifndef CHIP_AU8810
else {
printk(KERN_INFO "vortex: wt stop %d\n", dma);