ASoC: add snd_soc_register_component()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 12 Mar 2013 01:27:21 +0000 (18:27 -0700)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 13 Mar 2013 11:07:58 +0000 (11:07 +0000)
commit030e79f658de11da43d32e7ad814b5d2d64c8bac
tree4f38f2b01aa2dc6da29d3b3fb3ffda556f5cb23a
parentf6161aa153581da4a3867a2d1a7caf4be19b6ec9
ASoC: add snd_soc_register_component()

Current ASoC has register function for platform/codec/dai/card,
but doesn't have for cpu.
It often produces confusion and fault on ASoC.

As result of ASoC community discussion,
we consider new struct snd_soc_component for CPU/CODEC,
and will switch over to use it.

This patch adds very basic struct snd_soc_component,
and register function for it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
include/sound/soc.h
sound/soc/soc-core.c