diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2020-06-17 17:16:13 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2020-06-18 13:09:41 +0200 |
commit | ba384df2898841b29d92249c4a55f7927a4b9987 (patch) | |
tree | 56ef69b23db91c9be6a4cc926b7ed82fe50ce93d /init/do_mounts.h | |
parent | e9deea03c62c2a353a483bf29aac263a6ae8ece9 (diff) |
PM / Domains: Always consider to bail out in genpd_power_off()
In genpd_power_off(), we may decide to bail out, even after the genpd
governor is okay with powering off the PM domain. This makes sense, as
running the genpd_power_off() path with the lock held, may take some time.
During this time, it's perfectly possible that a subdomain is requested to
be powered on, hence it wouldn't be efficient to power off the master, to
then immediately after, have to power it on again.
However, the bail out point is currently considered only if the genpd in
question has a valid ->power_off() callback. This is unnecessary limiting,
especially if the master has master of its own, for example. Therefore,
let's drop this limitation.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'init/do_mounts.h')
0 files changed, 0 insertions, 0 deletions