]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: cht_bsw_max98090_ti: Use card DAPM context to access widgets
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 6 Jul 2015 13:38:09 +0000 (15:38 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 7 Jul 2015 13:54:31 +0000 (14:54 +0100)
commit313dd3bdd79c6657f542f0eaab2670e9705f85ce
tree99466b8b6f99e3f4b39636df0f5cb160162aa0b1
parent36230b404c58d303d46dfad96705ff1e2d4e280e
ASoC: cht_bsw_max98090_ti: 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.

While we are at it also remove some extra newlines.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/cht_bsw_max98090_ti.c