Преглед изворни кода

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>
Mark Brown пре 14 година
родитељ
комит
ee67b0cd5e
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      drivers/mfd/wm8994-core.c

+ 1 - 1
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;