mfd: Test for jack detection when deciding if wm8994 should suspend
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 1 Dec 2011 17:19:44 +0000 (17:19 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 14 Dec 2011 09:23:31 +0000 (17:23 +0800)
commita3462490b4d354c94031bfe644c65d374fc04aa6
tree9b6b45b2e1cda704a8dcbc08c5ead30dd0fd874b
parentd0616bbed18884cb2475ca0abb5a596105444b96
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>
Acked-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/wm8994-core.c