[alsa-devel] [PATCH 2/2] imx-ssi: increase minimum periods to 4

Sascha Hauer s.hauer at pengutronix.de
Tue Apr 13 16:38:09 CEST 2010


Currently the notification of elapsed periods is not very exact.
Increase minimum periods to 4.

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 sound/soc/imx/imx-pcm-fiq.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/soc/imx/imx-pcm-fiq.c b/sound/soc/imx/imx-pcm-fiq.c
index 4b694d5..ecec332 100644
--- a/sound/soc/imx/imx-pcm-fiq.c
+++ b/sound/soc/imx/imx-pcm-fiq.c
@@ -179,7 +179,7 @@ static struct snd_pcm_hardware snd_imx_hardware = {
 	.buffer_bytes_max = IMX_SSI_DMABUF_SIZE,
 	.period_bytes_min = 128,
 	.period_bytes_max = 16 * 1024,
-	.periods_min = 2,
+	.periods_min = 4,
 	.periods_max = 255,
 	.fifo_size = 0,
 };
-- 
1.7.0



More information about the Alsa-devel mailing list