diff options
author | 2011-07-12 00:40:03 +0200 | |
---|---|---|
committer | 2011-07-12 00:40:03 +0200 | |
commit | 56375fd420f851944960bd53dbb08d674f4d9406 (patch) | |
tree | 634fc52ba88aad057cbd2175d9a2b91d5dee4f01 /tools/perf/scripts/python/check-perf-trace.py | |
parent | PM / Domains: Improve handling of wakeup devices during system suspend (diff) | |
download | wireguard-linux-56375fd420f851944960bd53dbb08d674f4d9406.tar.xz wireguard-linux-56375fd420f851944960bd53dbb08d674f4d9406.zip |
PM / Domains: Queue up power off work only if it is not pending
In theory it is possible that pm_genpd_poweroff() for two different
subdomains of the same parent domain will attempt to queue up the
execution of pm_genpd_poweroff() for the parent twice in a row. This
would lead to unpleasant consequences, so prevent it from happening
by checking if genpd->power_off_work is pending before attempting to
queue it up.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions