Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 172350
b: refs/heads/master
c: 0ddf0ed
h: refs/heads/master
v: v3
  • Loading branch information
Rafael J. Wysocki committed Dec 6, 2009
1 parent 8739552 commit ae7aba2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 63c94801701abfea21570d3302687ec027ed33e8
refs/heads/master: 0ddf0ed1d47e2d4170fa2989273886a1df66a862
2 changes: 2 additions & 0 deletions trunk/drivers/base/power/runtime.c
Original file line number Diff line number Diff line change
Expand Up @@ -625,6 +625,8 @@ int pm_schedule_suspend(struct device *dev, unsigned int delay)
goto out;

dev->power.timer_expires = jiffies + msecs_to_jiffies(delay);
if (!dev->power.timer_expires)
dev->power.timer_expires = 1;
mod_timer(&dev->power.suspend_timer, dev->power.timer_expires);

out:
Expand Down

0 comments on commit ae7aba2

Please sign in to comment.