ASoC: rsnd: rsnd_ssi_is_multi_slave() macro uses rsnd_ssi_multi_slaves()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 9 Feb 2016 07:04:09 +0000 (07:04 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 9 Feb 2016 16:17:32 +0000 (16:17 +0000)
commitc308abe45e2a7bc58e22d9b6d04dccf76a1b2012
tree0cf70edd4a76bbb1682a9c4f057dfce091db7fb0
parentb5b442abd9d5cfe4f04a1e83be9900c87444bd66
ASoC: rsnd: rsnd_ssi_is_multi_slave() macro uses rsnd_ssi_multi_slaves()

b4c83b171 ("ASoC: rsnd: add Multi channel support") added
Multi channel support, and current rsnd_ssi_is_multi_slave()'s check
method is !SSI equals SSIM1/2/3. But, SSI parent also hit to this macro.
Because of this reason, some stream which needs SSI parent clock
can't work correctly. This patch uses rsnd_ssi_multi_slaves() to
solve this issue. This issue was reported by Dung.

Reported-by: Nguyen Viet Dung <nv-dung@jinso.co.jp>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/ssi.c