]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: soc-component: add snd_soc_component_is_codec()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 18 Oct 2021 02:05:24 +0000 (11:05 +0900)
committerMark Brown <broonie@kernel.org>
Mon, 18 Oct 2021 12:56:37 +0000 (13:56 +0100)
commit796f401a266929ca49afc31fd5f01ac3e19f9bea
tree2faeebd7b92100cea94bbac7ef4e602798b0c6dc
parent2a023e24ff539f6dfbd5f0aaa7c0beee6ed57e60
ASoC: soc-component: add snd_soc_component_is_codec()

Checking .non_legacy_dai_naming is not readable.
Let's add new snd_soc_component_is_codec().

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87h7dft7dn.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc-component.h
sound/soc/generic/simple-card-utils.c
sound/soc/soc-core.c