ASoC: wm5100: Use pm_runtime for powerdown managment
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 26 Jan 2012 17:28:49 +0000 (17:28 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 26 Jan 2012 18:39:24 +0000 (18:39 +0000)
commit62c1c40127e351de7fbc1d8c782f7508f8314aab
tree10f0a111dfc209c9c9473ccae90b557e91384fea
parent17e3e57b65720628754e9afc6919e30776c0c822
ASoC: wm5100: Use pm_runtime for powerdown managment

Using pm_runtime to decide if the device should go into full power down
has the dual advantage of allowing easier integration with non-DAPM
reasons to power on the device (like the FLL) and allowing userspace to
control the final power down which is useful for tuning retention of
DSP firmware.

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