ASoC: Factor out DAPM power checks for DACs and ADCs
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 20 Apr 2009 16:15:41 +0000 (17:15 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 20 Apr 2009 17:09:41 +0000 (18:09 +0100)
commit6ea31b9f0a0307e16656af27fcda3160e2a64a1b
tree9f7ace6b793a4eff0936dc5ff7d81afb2c0a87c9
parentcd0f2d4736ae8efabc60e54ecc8f677d0eddce02
ASoC: Factor out DAPM power checks for DACs and ADCs

This also switches us to using a switch statement for the widget type
in dapm_power_widget().

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