diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2022-11-02 15:21:03 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2022-11-03 19:40:58 +0100 |
commit | d9cc34fe0aae7e9df236be046a853fc63e889026 (patch) | |
tree | 8056a9fc110feb08f2a6e3c5f5d36db584dabc11 /kernel/Kconfig.freezer | |
parent | PM: domains: Pass generic PM noirq hooks to genpd_finish_suspend() (diff) | |
download | linux-d9cc34fe0aae7e9df236be046a853fc63e889026.tar.xz linux-d9cc34fe0aae7e9df236be046a853fc63e889026.zip |
PM: domains: Consolidate genpd_restore_noirq() and genpd_resume_noirq()
Most of the logic between genpd_restore_noirq() and genpd_resume_noirq()
are identical. The suspended_count decrement for restore should be the
right thing to do anyway, considering there is an increment in
genpd_finish_suspend() for hibernation. So consolidate these two
functions into genpd_finish_resume().
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'kernel/Kconfig.freezer')
0 files changed, 0 insertions, 0 deletions