From: Mark Brown Date: Mon, 6 Feb 2012 18:47:37 +0000 (+0000) Subject: mfd: wm8994: We don't need to runtime resume by default X-Git-Tag: accepted/tizen/common/20141203.182822~4990^2~70 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ee67b0cd5ed69953a6306efabd6e9e23bff09178;p=platform%2Fkernel%2Flinux-arm64.git 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 Signed-off-by: Samuel Ortiz --- diff --git a/drivers/mfd/wm8994-core.c b/drivers/mfd/wm8994-core.c index f117e7f..c31e6a4 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;