ASoC: davinci-evm: Use card DAPM context to access widgets
authorLars-Peter Clausen <lars@metafoo.de>
Sat, 11 Apr 2015 11:11:28 +0000 (13:11 +0200)
committerMark Brown <broonie@kernel.org>
Sun, 12 Apr 2015 11:44:24 +0000 (12:44 +0100)
commitb213b44a96ed1f868f68b094dbcf8fc9622984ef
tree3c8075d3631eb36e132ca7b475b220272bb1d232
parent4cd9db08598454e4d051b818c5f1d61ac7539a47
ASoC: davinci-evm: 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/davinci/davinci-evm.c