diff options
author | 2011-07-14 20:59:20 +0200 | |
---|---|---|
committer | 2011-07-14 20:59:20 +0200 | |
commit | d28054020f97c7c9f15327a53945f0f40ffc5d7a (patch) | |
tree | 0c1d4dcef6eca9c5fe6a435d8a86d51c373d90c8 /tools/perf/scripts/python/netdev-times.py | |
parent | ARM / shmobile: Use genpd_queue_power_off_work() (diff) | |
download | wireguard-linux-d28054020f97c7c9f15327a53945f0f40ffc5d7a.tar.xz wireguard-linux-d28054020f97c7c9f15327a53945f0f40ffc5d7a.zip |
PM / Domains: Take .power_off() error code into account
Currently pm_genpd_poweroff() discards error codes returned by
the PM domain's .power_off() callback, because it's safer to always
regard the domain as inaccessible to drivers after a failing
.power_off(). Still, there are situations in which the low-level
code may want to indicate that it doesn't want to power off the
domain, so allow it to do that by returning -EBUSY from .power_off().
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Magnus Damm <damm@opensource.se>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions