]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rsnd: add rsnd_scu_transfer_start()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 20 Dec 2013 03:28:04 +0000 (19:28 -0800)
committerMark Brown <broonie@linaro.org>
Tue, 31 Dec 2013 13:35:30 +0000 (13:35 +0000)
commit9cc18584bc33bf825cc3386a696ad512ef6bef02
tree16f01103abfea9c420a8d8af73f4828c8a1d46f6
parent7c0601581978daad22cb1ebff6d77f0f4c657b04
ASoC: rsnd: add rsnd_scu_transfer_start()

Renesas sound has SRC (= Sampling Rate Converter),
but, the HW implementation depends on its generation.
It was part of SRU on Gen1, and SCU on Gen2.
This SCU needs DMA transfer to use it.
Current rsnd driver is using it as DMA transfer buffer
(= no rate convert), and Gen1 is only supported at this point.

This patch cleanup it with focusing about SRC and Gen2 part.

SRC_CTRL/BUSIF_MODE are used for transfer start.
This patch adds rsnd_scu_transfer_start() and merge these

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