PM / Runtime: Generic resume shouldn't set RPM_ACTIVE unconditionally
authorRafael J. Wysocki <rjw@sisk.pl>
Fri, 24 Dec 2010 14:04:06 +0000 (15:04 +0100)
committerRafael J. Wysocki <rjw@sisk.pl>
Fri, 24 Dec 2010 14:04:06 +0000 (15:04 +0100)
commit4b31db8a16fa0d4d6a0fa42d044e7a4f4dad3641
tree4075d84f26fdd8e70ec62c9b541caa1ea23cebda
parent5c1a07ab3e78ef68fc9ccf419c969e8ed88d7cb6
PM / Runtime: Generic resume shouldn't set RPM_ACTIVE unconditionally

The __pm_generic_resume() function changes the given device's runtime
PM status to RPM_ACTIVE if its driver's callback returns 0, but it
only should do that if the rumtime PM is enabled for the device.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
drivers/base/power/generic_ops.c
include/linux/pm_runtime.h
This page took 0.025605 seconds and 5 git commands to generate.