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)
commitb75576d76d4be50196773f36709cb7a4f5ac2ab7
tree10c8c2cafda5bde450a073f8c6bc84a5e798ea80
parent6ea31b9f0a0307e16656af27fcda3160e2a64a1b
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