ASoC: soc-pcm: add soc_pcm_set_dai_params()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 11 Dec 2020 05:55:27 +0000 (14:55 +0900)
committerMark Brown <broonie@kernel.org>
Wed, 13 Jan 2021 11:33:11 +0000 (11:33 +0000)
commit2805b8bd3e0bdda15b3458ab9818d80f5d5b157f
tree676204911cc4685ebd7fefdf518e4cd3ab42423f
parenta7e20444ef5e7ab74aec34f34eb0e53024c349e1
ASoC: soc-pcm: add soc_pcm_set_dai_params()

Getting rate/channels/sample_bits from param needs fixed method.
This patch adds new soc_pcm_set_dai_params() and replace existing code.

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