ASoC: rsnd: handle DPCM converted rate/chan under core
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 6 Nov 2018 05:20:10 +0000 (05:20 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 6 Nov 2018 17:39:35 +0000 (17:39 +0000)
commitc2aaaa57d44a195b71fe1e9ff0c6a80ac017495d
tree0ca56d938006a2d3c59d574c33b0a63429407844
parentbeed78aeeb10214798b1fd5f1dd05e0b7199d65f
ASoC: rsnd: handle DPCM converted rate/chan under core

converted rate/chan are handled each rated module, but
it will be used other module too.
For examle, converted channel is currently used for CTU,
but, it will be used for TDM Split mode, too.

This patch move/merge SRC/CTU hw_param under core.c
and handles converted rate/chan under rsnd_dai_stream.

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