diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2020-11-03 16:06:26 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2020-11-10 20:42:01 +0100 |
commit | b9795a3e4e1cbf521bbb5ef240eb47803c303b02 (patch) | |
tree | 9278fdeceff85d42363c8c5134e5d9672b8a5aea /drivers/cpuidle | |
parent | PM: domains: Rename pm_genpd_syscore_poweroff|poweron() (diff) | |
download | linux-b9795a3e4e1cbf521bbb5ef240eb47803c303b02.tar.xz linux-b9795a3e4e1cbf521bbb5ef240eb47803c303b02.zip |
PM: domains: Enable dev_pm_genpd_suspend|resume() for suspend-to-idle
The dev_pm_genpd_suspend|resume() have so far only been used during the
syscore suspend/resume phases. However, during suspend-to-idle, where the
syscore phases doesn't exist, similar operations are sometimes needed.
An existing example are the timekeeping_suspend|resume() functions, which
are being called both through a registered syscore ops during the syscore
phases, but also as regular functions calls from cpuidle (via
tick_freeze()) during suspend-to-idle.
For similar reasons, let's enable the dev_pm_genpd_suspend|resume() APIs to
be re-used for corresponding CPU devices that are attached to a genpd,
during suspend-to-idle.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpuidle')
0 files changed, 0 insertions, 0 deletions