]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rsnd: use dmaengine_prep_dma_cyclic() instead of original method
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 23 Jun 2014 00:56:41 +0000 (17:56 -0700)
committerMark Brown <broonie@linaro.org>
Sat, 28 Jun 2014 13:41:19 +0000 (14:41 +0100)
commit727671863945ae0fb3bcd1376710c6c905950c27
treedc8e198921c52f35a52c9a58559681768edaefc6
parentb8049dbcb9cac7fcf154e5862240ec08aa7535ff
ASoC: rsnd: use dmaengine_prep_dma_cyclic() instead of original method

Current R-Car sound driver is using DMAEngine directly,
but, ASoC is requesting to use common DMA transfer method,
like snd_dmaengine_pcm_trigger() or dmaengine_pcm_ops.
It is difficult to switch at this point, since Renesas
driver is also supporting PIO transfer.
This patch uses dmaengine_prep_dma_cyclic() instead
of dmaengine_prep_slave_single().
It is used in requested method,
and is good first step to switch over.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/sh/rcar/core.c
sound/soc/sh/rcar/rsnd.h