aboutsummaryrefslogtreecommitdiff
path: root/include/linux/pm_domain.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2011-12-01 00:02:17 +0100
committerRafael J. Wysocki <rjw@sisk.pl>2011-12-01 21:48:07 +0100
commit0140d8bd47f798d55c3720f7fcade9e50929a5e5 (patch)
tree8be169e9eab129f60fc0af2977e0335cfe764dee /include/linux/pm_domain.h
parent221e9b58380abdd6c05e11b4538597e2586ee141 (diff)
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>
Diffstat (limited to 'include/linux/pm_domain.h')
0 files changed, 0 insertions, 0 deletions