From: Rafael J. Wysocki Date: Wed, 30 Nov 2011 23:02:17 +0000 (+0100) Subject: PM / Domains: Automatically update overoptimistic latency information X-Git-Tag: v3.3-rc1~167^2~2^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0140d8bd47f798d55c3720f7fcade9e50929a5e5;p=pandora-kernel.git 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 --- Reading git-diff-tree failed