]> git.openfabrics.org - ~emulex/infiniband.git/commit
ASoC: rsnd: DMA start address is properly used for each DMAC
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 23 Jun 2014 00:59:02 +0000 (17:59 -0700)
committerMark Brown <broonie@linaro.org>
Wed, 2 Jul 2014 11:35:56 +0000 (12:35 +0100)
commit340371005d399b595f4044fc5e336f4a66ead101
treebd1f4d5068722073e5f6f7f03a7962c19c5ecfa8
parent37523034851d6a4b1dc951e24bf2f11bc28fe58d
ASoC: rsnd: DMA start address is properly used for each DMAC

R-Car sound uses Audio DMAC and Audio DMAC peri peri.
Audio DMAC peri peri transfers data inside circuit.

DMA transfer needs source / destination address,
and destination address can be set via dmaengine_slave_config().
The source address can be set when starting DMAEngine.
Because Audio DMAC peri peri always ignores its value,
current driver always used same source address for
Audio DMAC / Audio DMAC peri peri
(Audio DMAC peri peri source / destination address
is always fixed value)
But, This is not good match for DT booting.
This patch properly uses DMA start address
for Audio DMAC / Audio DMAC peri peri.

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