]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rsnd: fixup TDM Split mode check for CTU
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 1 Feb 2019 07:47:25 +0000 (16:47 +0900)
committerMark Brown <broonie@kernel.org>
Sat, 2 Feb 2019 15:42:11 +0000 (15:42 +0000)
commit33f6e009436012718ed4a512a6f91e966c97d481
tree259a5868e57dd15d820dfd410955ed2b2f8321bf
parentda77e85855ca1dc458f50b4de8be778d7303879a
ASoC: rsnd: fixup TDM Split mode check for CTU

Renesas sound card need to judge that whether it is using
"TDM Split mode". To judge it and for other purpose, it has
rsnd_parse_connect_simple() and rsnd_parse_connect_graph(),
but these are using different judgement policy for
TDM Split mode.
It is pointless and confusable.
This patch add new rsnd_parse_tdm_split_mode() and use common
judgement policy for simple-card/audio-graph.

Without this patch, CTU will be judged as TDM Split mode
on audio-graph card.

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