]> asedeno.scripts.mit.edu Git - linux.git/commit
ASoC: add soc-dai.c
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 22 Jul 2019 01:32:12 +0000 (10:32 +0900)
committerMark Brown <broonie@kernel.org>
Tue, 23 Jul 2019 17:14:14 +0000 (18:14 +0100)
commit06f6e1d41427f394ad3f67ecf06efcd28a46932c
tree8c9de63f6bc5c6eaa65c7e8cef6afdb019f9902a
parent859fd6cbf1fb32b5428c26f837215c085b8a822e
ASoC: add soc-dai.c

Current ALSA SoC has many snd_soc_dai_xxx() function which is
using dai->driver->ops->xxx.
But, some of them are implemented as snd_soc_dai_xxx(),
but others are directly using dai->driver->ops->xxx.
Because of it, the code is not easy to read.

This patch creats new soc-dai.c and moves snd_soc_dai_xxx()
functions into it.
One exception is snd_soc_dai_is_dummy() which is based on
soc-utils local variable. We need to keep it as-is there.

Others which is directly using dai->driver->ops->xxx will be
implemented at soc-dai.c by incremental patches.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/871ryij1r6.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/Makefile
sound/soc/soc-core.c
sound/soc/soc-dai.c [new file with mode: 0644]