ASoC: mop500_ab8500: Use card DAPM context to access widgets
authorLars-Peter Clausen <lars@metafoo.de>
Sat, 11 Apr 2015 11:01:02 +0000 (13:01 +0200)
committerMark Brown <broonie@kernel.org>
Sun, 12 Apr 2015 11:43:58 +0000 (12:43 +0100)
commit5cf57f0f6b25d046e6ea219d99681077edca5d7c
tree3ce2111157a18ce0c39b07bc1176fa320df495aa
parentc517d838eb7d07bbe9507871fab3931deccff539
ASoC: mop500_ab8500: 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/ux500/mop500_ab8500.c