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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Mar 2012 19:31:24 +0000 (12:31 -0700)
commit315e73b400c9a287a53efb5f857d308589674ac5
tree3086e4ca39257499fa01aec67ea794279f88feac
parent5e39bbafe82bbb12ed307af97c929627e0f9499a
mfd: Test for jack detection when deciding if wm8994 should suspend

commit e7c248a049c2aac21bded0b0722caee6f0e57256 upstream.

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>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mfd/wm8994-core.c