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)
commit02f51640fedb61ab17fcddbd6fdb40239a4f46d9
treea45444cef2b26ccc058a6b8abd0e4f2b94d6d173
parent77c71765ef78f87dd901fcb4c751908e835a3b2e
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