]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: snd_soc_codec includes snd_soc_component
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 5 Sep 2013 02:39:03 +0000 (19:39 -0700)
committerMark Brown <broonie@linaro.org>
Tue, 17 Sep 2013 12:07:13 +0000 (13:07 +0100)
commit363608d959a742b061ece2f1c2d046821fe1c033
treebc77d6f8573b03f9f2e938d22bc2d6f3ec0b4f86
parent5667ee2a76214eb1f98d5ba5c60e1a9aa3440b67
ASoC: snd_soc_codec includes snd_soc_component

Codec includes component by this patch,
and component moved to upside of codec
to avoid extra declaration.
Codec dai will be registered via component
by this patch.

Current component register function
is used for cpu, and it is using
dai/dais functions properly to keep
existing cpu dai name.

And now, it will be used from codec also.
But codec driver had been used dais function only
even though it was single dai.
This patch adds new flag which can selects
dai/dais function on component register
function to keep existing codec dai name.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
include/sound/soc.h
sound/soc/soc-core.c