ASoC: rsnd: enable DVC when capture
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 23 Jun 2014 00:57:04 +0000 (17:57 -0700)
committerSimon Horman <horms@verge.net.au>
Fri, 5 Dec 2014 00:24:34 +0000 (09:24 +0900)
commit5b28ba0facc8e6e949c25e97e79b537b0319d354
treef356199ba822220931d749b99f5db6f2d90bfb01
parent0601228917dbe812bed0e5af717d5110c61f9662
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>
(cherry picked from commit 65f459923b7926f6a7f156970d83360bd80cb169)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
sound/soc/sh/rcar/dvc.c