summaryrefslogtreecommitdiff
path: root/Documentation/power/runtime_pm.txt
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2009-12-21 02:46:11 +0100
committerRafael J. Wysocki <rjw@sisk.pl>2009-12-21 02:46:11 +0100
commitaa0baaef97c89de2ef216fcc017215ee01662a10 (patch)
tree522e5cbe200ba5ddcaf905a826b2a58159a441eb /Documentation/power/runtime_pm.txt
parentecf762b2581e12ac761d12a6e4e297c2224aa899 (diff)
PM: Use pm_runtime_put_sync in system resume
This patch (as1317) fixes a bug in the PM core. When a device is resumed following a system sleep, the core decrements the device's runtime PM usage counter but doesn't issue an idle notification if the counter reaches 0. This could prevent an otherwise unused device from being runtime-suspended again after the system sleep. The fix is to call pm_runtime_put_sync() instead of pm_runtime_put_noidle(). Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'Documentation/power/runtime_pm.txt')
0 files changed, 0 insertions, 0 deletions