mfd: wm8994: We don't need to runtime resume by default
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 6 Feb 2012 18:47:37 +0000 (18:47 +0000)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 6 Mar 2012 17:46:40 +0000 (18:46 +0100)
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>
drivers/mfd/wm8994-core.c

index f117e7fb932194fc174ed52439dadcd57e81684c..c31e6a42b241b10fc80012fb5e22f3f26a34498f 100644 (file)
@@ -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;
 
This page took 0.025703 seconds and 5 git commands to generate.