]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit09bb5cbee66fa346c8abd558553c997d63038f5e
tree3c8075d3631eb36e132ca7b475b220272bb1d232
parentba7cb15f6d547922f8bf9e7d66e44f8afb36adaa
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