ASoC: Create codec DAPM widgets before calling the codecs probe function
authorLars-Peter Clausen <lars@metafoo.de>
Thu, 5 May 2011 14:59:09 +0000 (16:59 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 8 May 2011 13:38:08 +0000 (14:38 +0100)
commit77530150fba769d7b7e260b3f16ed2294c1737b6
tree2997c6071da7e6dbf5381fe69a0d9dab746e420c
parent20ed0938bfb132638f68618ba2e694aafe24d3e2
ASoC: Create codec DAPM widgets before calling the codecs probe function

This allows to create DAPM routes depending on those widgets in the
codecs probe function.  This is helpful when supporting similar codecs
with minor differences in the DAPM routing with the same driver.

Something similar has already been done for cards in commit
a841ebb9 (ASoC: Create card DAPM widgets early so they can be used in
callbacks).

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/soc-core.c