Skip to contentSkip to conversation

mfd: wm8994: We don't need to runtime resume by default

PATCH Applied Mark Brown 2 participants 2 messages Feb 6, 2012 – Feb 20, 2012

Subsystems (2)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 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).

---
 drivers/mfd/wm8994-core.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mfd/wm8994-core.c +1 -1
index e294717..b2de65b 100644
@@ -636,7 +636,7 @@ static __devinit 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;
 
Signature · 1 line
1.7.9.rc1
Applied
#1 lore raw

Hi Mark,

Quoted 3 lines · Mark Brown

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).

Applied as well, thanks.

Cheers,
Samuel.

Signature · 2 lines
Intel Open Source Technology Centre
http://oss.intel.com/