Re: [PATCH] PM: allow for usage_count > 0 in pm_runtime_get()

Alan Stern
2009-12-01T16:15:33Z

Rafael:

One other thing I just noticed. The power.timer_expires field is
supposed to be nonzero when the timer is scheduled. But the code at
the end of pm_schedule_suspend() doesn't check for the possibility that
the expiration time might just happen to be 0. If it is, the
timer_expires value should be bumped up to 1 before the mod_timer()
call.

Alan Stern