From: Hans-Christian Egtvedt Date: Thu, 2 Apr 2009 11:42:26 +0000 (+0200) Subject: ALSA: snd-atmel-abdac: increase periods_min to 6 instead of 4 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=fa075ed2dc80440bf3e9092d38a66c3227b174c1;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Takashi Iwai --- diff --git a/sound/atmel/abdac.c b/sound/atmel/abdac.c index 32064fafbc2..f2f41c85422 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, };