From: Sascha Hauer Date: Wed, 14 Apr 2010 07:17:31 +0000 (+0200) Subject: ASoC: imx-ssi: increase minimum periods to 4 X-Git-Tag: upstream/snapshot3+hdmi~14707^2~7^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=565a79f74af96ae90dfec411da14dc38d2cd56bc;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git ASoC: imx-ssi: increase minimum periods to 4 Currently the notification of elapsed periods is not very exact. Increase minimum periods to 4 as suggested by Liam Girdwood. Signed-off-by: Sascha Hauer Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- diff --git a/sound/soc/imx/imx-pcm-fiq.c b/sound/soc/imx/imx-pcm-fiq.c index 64df813..98ab331 100644 --- a/sound/soc/imx/imx-pcm-fiq.c +++ b/sound/soc/imx/imx-pcm-fiq.c @@ -174,7 +174,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, };