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: Ubuntu-5.13.0-19.19~32004^2~2^2~1 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=565a79f74af96ae90dfec411da14dc38d2cd56bc;p=mirror_ubuntu-jammy-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 64df813b9af8..98ab33109527 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, };