]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit09380f311b1ec63fb014621ffdeb6dcf13911ac2
tree47fece24f8cffb48c415d67edacf0c3966e9a2aa
parent7389eb40d97a7be49653b327fc3faf73333a31e2
ASoC: fsi: reserve prefetch period on DMA transferring

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>
sound/soc/sh/fsi.c