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)
commit0140d8bd47f798d55c3720f7fcade9e50929a5e5
tree8be169e9eab129f60fc0af2977e0335cfe764dee
parent221e9b58380abdd6c05e11b4538597e2586ee141
PM / Domains: Automatically update overoptimistic latency information

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>
drivers/base/power/domain.c
This page took 0.025909 seconds and 5 git commands to generate.