]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: tegra_rt5677: Use card DAPM context to access widgets
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 3 Apr 2015 11:04:06 +0000 (13:04 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 8 Apr 2015 20:10:01 +0000 (21:10 +0100)
commite82c3e68710d8700464e6756cfbd463f58c5a497
tree283a8e53768ee86a0ba0e10b4ac4d8c520c6c7be
parent61508db87ecf11e553d42ceee4d4f42989f7d1d6
ASoC: tegra_rt5677: 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_rt5677.c