diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2011-12-01 00:02:17 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2011-12-01 21:48:07 +0100 |
commit | 0140d8bd47f798d55c3720f7fcade9e50929a5e5 (patch) | |
tree | 8be169e9eab129f60fc0af2977e0335cfe764dee /sound/usb/stream.h | |
parent | 221e9b58380abdd6c05e11b4538597e2586ee141 (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 'sound/usb/stream.h')
0 files changed, 0 insertions, 0 deletions