PM / Domains: Automatically update overoptimistic latency information
authorRafael J. Wysocki <rjw@sisk.pl>
Wed, 30 Nov 2011 23:02:17 +0000 (00:02 +0100)
committerRafael J. Wysocki <rjw@sisk.pl>
Thu, 1 Dec 2011 20:48:07 +0000 (21:48 +0100)
Measure the time of execution of the .stop(), .start(), .save_state()
and .restore_state() PM domain device callbacks and if the result
is greater than the corresponding latency value stored in the
device's struct generic_pm_domain_data object, replace the inaccurate
value with the measured time.

Do analogously for the PM domains' .power_off() and .power_off()
callbacks.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>

No differences found