]> git.baikalelectronics.ru Git - kernel.git/commit
PM / Runtime: Update last_busy in rpm_resume
authorTony Lindgren <tony@atomide.com>
Wed, 13 May 2015 23:36:32 +0000 (16:36 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 19 May 2015 23:55:02 +0000 (01:55 +0200)
commit502396c01645c8fb6478cbd4e5297c2f3cb2b54d
treee9987286d9ec0bd037bf3207149ab4d010a0d9e0
parent1302a416c41f9442bfcaa5c7a9a156dd0b7f5b65
PM / Runtime: Update last_busy in rpm_resume

If we don't update last_busy in rpm_resume, devices can go back
to sleep immediately after resume. This happens at least in
cases where the device has been powered off and does not have
any interrupt pending until there's something in the FIFO.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/runtime.c