]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Make the DAPM power check an operation on the widget
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 20 Apr 2009 16:56:13 +0000 (17:56 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 20 Apr 2009 17:09:48 +0000 (18:09 +0100)
commit547d1d9eb83f29fea4657a97a64637286a970e50
tree10c8c2cafda5bde450a073f8c6bc84a5e798ea80
parentc611a10488ff57e3398a561e058933432373a838
ASoC: Make the DAPM power check an operation on the widget

Rather than having switch statements at point of use make the DAPM
power check a member of the widget structure and set it when we
instantiate the widget.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
include/sound/soc-dapm.h
sound/soc/soc-dapm.c