ASoC: fsi: reserve prefetch period on DMA transferring
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 26 Aug 2013 06:36:23 +0000 (23:36 -0700)
committerMark Brown <broonie@linaro.org>
Mon, 26 Aug 2013 12:02:36 +0000 (13:02 +0100)
Current FSI is supporting DMAEngine transfer,
but, it needs to use work queue.
Therefore, DMA transfer settings might be late if there is heavy task.
This patch reserves next period beforehand on DMA transfer function.
Android sound will be breaking up without this patch.

Tested-by: Tomohito Esaki <etom@igel.co.jp>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@linaro.org>

No differences found