ASoC: soc-dai: move snd_soc_dai_stream_valid() to soc-dai.c
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 22 Jul 2019 01:36:16 +0000 (10:36 +0900)
committerMark Brown <broonie@kernel.org>
Tue, 23 Jul 2019 17:14:26 +0000 (18:14 +0100)
commit467fece8fbc6774a3a3bd0981e1a342fb5022706
treed85ea1aa80bfba0bd132566567fc41a7e0d2ff4c
parent88fdffa2eef45fc9f6009ee590741c44a57c49c7
ASoC: soc-dai: move snd_soc_dai_stream_valid() to soc-dai.c

snd_soc_dai_stream_valid() is function to check stream validity.
But, some code is using it, some code are checking stream->channels_min
directly. Doing samethings by different method is confusable.
This patch uses same funcntion for same purpose.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87ftmyhmzz.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc-dai.h
sound/soc/soc-compress.c
sound/soc/soc-dai.c
sound/soc/soc-pcm.c