summaryrefslogtreecommitdiffstats
path: root/sound/atmel/abdac.c
diff options
context:
space:
mode:
authorHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>2009-04-02 13:42:26 +0200
committerTakashi Iwai <tiwai@suse.de>2009-04-06 03:56:28 +0200
commitfa075ed2dc80440bf3e9092d38a66c3227b174c1 (patch)
tree1e2ac711a46f2a6963e83fad6f62525a604a10c0 /sound/atmel/abdac.c
parent60a56cce7acb6c66fc6c4fdfef0049e73cfdc8be (diff)
downloadlinux-fa075ed2dc80440bf3e9092d38a66c3227b174c1.tar.bz2
ALSA: snd-atmel-abdac: increase periods_min to 6 instead of 4
This patch increases periods_min to 6 from 4, this will remove any hickups where the buffer is not filled fast enough from user space. Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/atmel/abdac.c')
-rw-r--r--sound/atmel/abdac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/atmel/abdac.c b/sound/atmel/abdac.c
index 32064fafbc2e..f2f41c854221 100644
--- a/sound/atmel/abdac.c
+++ b/sound/atmel/abdac.c
@@ -165,7 +165,7 @@ static struct snd_pcm_hardware atmel_abdac_hw = {
.buffer_bytes_max = 64 * 4096,
.period_bytes_min = 4096,
.period_bytes_max = 4096,
- .periods_min = 4,
+ .periods_min = 6,
.periods_max = 64,
};