mfd: Add more checks for WM8994 being active during suspend
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 13 Aug 2011 05:37:48 +0000 (14:37 +0900)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 24 Oct 2011 12:09:10 +0000 (14:09 +0200)
commit5f40c6b6508b622ea03c6b32c57b2e26eba2e4f1
treefd1f51a2f3c053fb4f92d7f6731ab5903a354ff2
parentcdcc966d48cd49159b8bfd07a588cef3036624e6
mfd: Add more checks for WM8994 being active during suspend

Enhancements to the WM8994 audio driver and new features on more modern
devices in the series mean that we can no longer rely on VMID being active
as an indication that the device is active. Add further checks for digital
paths and microphone detection.

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