mfd: Implement runtime PM for WM8994 core driver
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 26 Nov 2010 17:19:35 +0000 (17:19 +0000)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 14 Jan 2011 11:37:43 +0000 (12:37 +0100)
commitd450f19eea0c3f64d60dc37655bae03b2455e5bb
treefab4ec06b46b517fb8a8fb1b8d9b07b4f978447b
parent4c90aa94f6b3e33f57faaf19ef9819195dff61d3
mfd: Implement runtime PM for WM8994 core driver

Allow the WM8994 to completely power off, including disabling the LDOs
if they are software controlled, when it goes idle. The CODEC subdevice
controls activity for the MFD as a whole.

If the GPIOs need to be used while the device is active runtime PM
should be disabled for the device by machine specific code.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/wm8994-core.c