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)
commit53110a256a334c5e01db2d94c5306b4880a9180e
tree47fece24f8cffb48c415d67edacf0c3966e9a2aa
parentb36f4be3de1b123d8601de062e7dbfc904f305fb
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