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

No differences found