mfd: Test for jack detection when deciding if wm8994 should suspend
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 20 Feb 2012 21:32:32 +0000 (21:32 +0000)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 21 Feb 2012 10:51:28 +0000 (11:51 +0100)
commite7c248a049c2aac21bded0b0722caee6f0e57256
tree76fb03f783cdd95f012e54f4515e4d6328a50469
parent0a35ee4783975b7238e20044445962fb4fe82cf5
mfd: Test for jack detection when deciding if wm8994 should suspend

The jack detection on WM1811 is often required during system suspend, add
it as another check when deciding if we should suspend.

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