]> 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)
commitf60898b5d766aa151f038c4c0ac254ff3177c62b
treebc77d6f8573b03f9f2e938d22bc2d6f3ec0b4f86
parent8d77f31568220a8293f2e30959e7772efe92c198
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