summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2009-12-03 21:03:57 +0100
committerRafael J. Wysocki <rjw@sisk.pl>2009-12-06 16:17:56 +0100
commit0ddf0ed1d47e2d4170fa2989273886a1df66a862 (patch)
tree179d0f0de4ef726209c068ea9616f5ccd6a73173 /mm
parent63c94801701abfea21570d3302687ec027ed33e8 (diff)
downloadop-kernel-dev-0ddf0ed1d47e2d4170fa2989273886a1df66a862.zip
op-kernel-dev-0ddf0ed1d47e2d4170fa2989273886a1df66a862.tar.gz
PM / Runtime: Ensure timer_expires is nonzero in pm_schedule_suspend()
The runtime PM core code assumes that dev->power.timer_expires is nonzero when the timer is scheduled, but it may become zero incidentally in pm_schedule_suspend(). Prevent this from happening by bumping dev->power.timer_expires up to 1 if it's 0 before calling mod_timer(). Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Reported-by: Alan Stern <stern@rowland.harvard.edu>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud