]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfe0b3aa54ba6579e0699a5e019e38622501a2330
tree3ce2111157a18ce0c39b07bc1176fa320df495aa
parent9cbe621030a9cce16d27329dac74fd4b1c1d9412
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