aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2020-09-24 13:04:48 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-10-02 19:15:16 +0200
commitf63816e43d90442684cd2fd74f602cf3c5fae69c (patch)
tree2a3450e9b51602930b988d82ed2a5a1cfd30dcec /drivers/acpi
parentPM: domains: Rename power state enums for genpd (diff)
downloadlinux-dev-f63816e43d90442684cd2fd74f602cf3c5fae69c.tar.xz
linux-dev-f63816e43d90442684cd2fd74f602cf3c5fae69c.zip
PM: domains: Allow to abort power off when no ->power_off() callback
In genpd_power_off() we may decide to abort the power off of the PM domain, even beyond the point when the governor would accept it. The abort is done if it turns out that a child domain has been requested to be powered on, which means it's waiting for the lock of the parent to be released. However, the abort is currently only considered if the genpd in question has a ->power_off() callback assigned. This is unnecessary limiting, especially if the genpd would have a parent of its own. Let's remove the limitation and make the behaviour consistent. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> [ rjw: Subject edit ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi')
0 files changed, 0 insertions, 0 deletions