summaryrefslogtreecommitdiff
path: root/drivers/mfd/wm8994-core.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-02-06 22:47:37 +0400
committerSamuel Ortiz <sameo@linux.intel.com>2012-03-06 21:46:40 +0400
commitee67b0cd5ed69953a6306efabd6e9e23bff09178 (patch)
tree6d7079e777023772945b5354d11401ae3c4daf36 /drivers/mfd/wm8994-core.c
parent9a022e5f0095a01456951714edaaa3994caf9ecc (diff)
downloadlinux-ee67b0cd5ed69953a6306efabd6e9e23bff09178.tar.xz
mfd: wm8994: We don't need to runtime resume by default
This is the default state that the runtime PM infrastructure expects so instead just kick the runtime PM core to suspend us if we're not doing anything (as is default). Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/wm8994-core.c')
-rw-r--r--drivers/mfd/wm8994-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/wm8994-core.c b/drivers/mfd/wm8994-core.c
index f117e7fb9321..c31e6a42b241 100644
--- a/drivers/mfd/wm8994-core.c
+++ b/drivers/mfd/wm8994-core.c
@@ -563,7 +563,7 @@ static int wm8994_device_init(struct wm8994 *wm8994, int irq)
}
pm_runtime_enable(wm8994->dev);
- pm_runtime_resume(wm8994->dev);
+ pm_runtime_idle(wm8994->dev);
return 0;