pmdomain: core: Update the rejected/usage counters at system suspend too
authorUlf Hansson <ulf.hansson@linaro.org>
Fri, 12 Apr 2024 10:42:07 +0000 (12:42 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 18 Apr 2024 14:52:47 +0000 (16:52 +0200)
commit5af7f593be821eb28ce81a91aac71ccdf9dbe4d5
tree3ca7e45decdd3d833bbe3ac766e306a5e5cfc34b
parentfdea114ac26ce0eae4e248e6194d39e4e7536f7a
pmdomain: core: Update the rejected/usage counters at system suspend too

During system suspend we may try to enter a low power-state for the genpd
in question. Let's take this into account for the statistics too, by
updating the rejected/usage counters for the corresponding state.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Link: https://lore.kernel.org/r/20240412104208.74361-1-ulf.hansson@linaro.org
drivers/pmdomain/core.c