]> 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)
commit8df0cb9c3744f8852433793281dd0a92c6acbd98
tree3c8075d3631eb36e132ca7b475b220272bb1d232
parent219abe8d00f8a8cb76a361188d20795f521d2798
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