]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: wm1133-ev1: Use card DAPM context to access widgets
authorLars-Peter Clausen <lars@metafoo.de>
Sat, 11 Apr 2015 10:52:01 +0000 (12:52 +0200)
committerMark Brown <broonie@kernel.org>
Sun, 12 Apr 2015 11:42:34 +0000 (12:42 +0100)
commitc63510904382846a420d8449e29d62fb9bd86771
treea45444cef2b26ccc058a6b8abd0e4f2b94d6d173
parent9573106da48d9ceb61f89c372caf7b000f17dca3
ASoC: wm1133-ev1: 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/fsl/wm1133-ev1.c