ASoC: tegra_wm9712: Use card DAPM context to access widgets
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 3 Apr 2015 11:04:08 +0000 (13:04 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 8 Apr 2015 20:10:01 +0000 (21:10 +0100)
commit1b13fe718b6ebca2b12cfa3d6cd32b8b68a03e38
tree18d4f1688a885884bea0bbcefa56fd9347ea2260
parent14e954f5ddc56c0dc9c32fadf188f44f5855e0fa
ASoC: tegra_wm9712: 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/tegra/tegra_wm9712.c