ASoC: omap3pandora: Use card DAPM context to access widgets
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 6 Jul 2015 13:38:08 +0000 (15:38 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 7 Jul 2015 13:54:31 +0000 (14:54 +0100)
commit987731bb7c80b170228e6e1acf2e7b91efb51100
tree19c8070fcb563d36b279113e7e2b27176e5e8a28
parent8f218fa93d20a7b4ef8a088e5eed2d84b8ef4ab5
ASoC: omap3pandora: Use card DAPM context to access widgets

The dapm field of the snd_soc_codec struct will eventually be removed
(replaced with the DAPM context from the component embedded inside the
CODEC). Replace its usage with the card's DAPM context. The idea is that
DAPM is hierarchical and with the card at the root it is possible to access
widgets from other contexts through the card context.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/omap/omap3pandora.c