Commit ca89f542 authored by Jaroslav Kysela's avatar Jaroslav Kysela

ALSA CVS update

ATIIXP driver
Fixed a typo in the check of buffer/period size configuration.
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 1029364b
...@@ -377,7 +377,7 @@ static int atiixp_build_dma_packets(atiixp_t *chip, atiixp_dma_t *dma, ...@@ -377,7 +377,7 @@ static int atiixp_build_dma_packets(atiixp_t *chip, atiixp_dma_t *dma,
dma->period_bytes = dma->periods = 0; /* clear */ dma->period_bytes = dma->periods = 0; /* clear */
} }
if (dma->periods == dma->periods && dma->period_bytes == period_bytes) if (dma->periods == periods && dma->period_bytes == period_bytes)
return 0; return 0;
/* reset DMA before changing the descriptor table */ /* reset DMA before changing the descriptor table */
......
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