ASoC: rsnd: enable DVC when capture
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 23 Jun 2014 00:57:04 +0000 (17:57 -0700)
committerMark Brown <broonie@linaro.org>
Sat, 28 Jun 2014 13:41:19 +0000 (14:41 +0100)
commit65f459923b7926f6a7f156970d83360bd80cb169
tree65f9af5ceabaaa9828f0cc0625710f1cdc6a3a26
parentccd01559ead29b59918458e9b412ff18b88fc6cf
ASoC: rsnd: enable DVC when capture

Current DVC can be enabled only when playback,
but, this came from misunderstanding.
It is not correct.

DVC <-> DMA relationship is...

Playback: MEM -> DMAC  -> SRC -> DVC -> DMACp -> SSI
Capture:  SSI -> DMACp -> SRC -> DVC -> DMAC  -> MEM

DVC can be used for both Playback/Capture

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