Skip to content

Commit

Permalink
mfd: wm8994: We don't need to runtime resume by default
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mark Brown authored and Samuel Ortiz committed Mar 6, 2012
1 parent 9a022e5 commit ee67b0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mfd/wm8994-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit ee67b0c

Please sign in to comment.