]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - sound/soc/sh/rcar/ssi.c
ASoC: rsnd: judge work SSI in runtime
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 18 Feb 2016 08:19:12 +0000 (08:19 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 19 Feb 2016 15:53:02 +0000 (00:53 +0900)
commitfd9adcfdc1434fdd4d0a14ddfe686449a6ffeeb3
treee8020e92bd2bf5784c8e1c4a9f2c32c52aa3e110
parent4f5c634d58e71963d3c34a0a4af9ec71785f094f
ASoC: rsnd: judge work SSI in runtime

Current rsnd supports multi SSI (maximum 4 SSI for 8ch),
and, it should determine whether using each SSI or not in runtime.
All SSIs are not used even if there are 4 SSI in case of stereo.

Current driver setups un-used SSI in such case. It is no problem,
but not needed. This patch judges it.

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