]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Add component level probe/remove support
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 19 Aug 2014 13:51:21 +0000 (15:51 +0200)
committerMark Brown <broonie@linaro.org>
Tue, 19 Aug 2014 15:59:45 +0000 (10:59 -0500)
commit0366a15e05116fbbae0de5018a60f0d1353b92c2
tree725bcb8158a795876225fd005c7298a0f99e179c
parentffbec634373ff73b55a0ae467feefebbdedcf48d
ASoC: Add component level probe/remove support

Now that we have a unified probe and remove path make sure to call them for all
components. soc_{probe,remove}_component are responsible for setting up the DAPM
context for the component, initialize the component prefix, manage the debugfs
entries as well as do the registration of table based controls and DAPM
elements. They also call the component drivers probe and remove callbacks. This
patch makes these things available for generic snd_soc_component drivers rather
than only having them for snd_soc_codec and snd_soc_platform drivers.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
include/sound/soc.h
sound/soc/soc-core.c