]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: smartq: Use card DAPM context to access widgets
authorLars-Peter Clausen <lars@metafoo.de>
Sun, 3 May 2015 17:27:09 +0000 (19:27 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 4 May 2015 12:51:19 +0000 (13:51 +0100)
commitf75c3c3e24c36db7b72914701b99d88c75463bd7
tree9f502c5433895676a9d067cf4541056aeaea91ce
parentf399daf71ea2bbc30643c8901cd41775497aacb6
ASoC: smartq: 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/samsung/smartq_wm8987.c