aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorUlf Hansson <[email protected]>2022-05-11 16:57:00 +0200
committerRafael J. Wysocki <[email protected]>2022-05-19 20:16:05 +0200
commit622d9b5577f19a6472db21df042fea8f5fefe244 (patch)
treed1c6d5abbe876b28c5d7ce7c6b92796afb9a3bf4 /lib/mpi/mpi-sub-ui.c
parenta294237aea122daa646f02e461877d553439c529 (diff)
PM: domains: Fix initialization of genpd's next_wakeup
In the genpd governor we walk the list of child-domains to take into account their next_wakeup. If the child-domain itself, doesn't have a governor assigned to it, we can end up using the next_wakeup value before it has been properly initialized. To prevent a possible incorrect behaviour in the governor, let's initialize next_wakeup to KTIME_MAX. Fixes: c79aa080fb0f ("PM: domains: use device's next wakeup to determine domain idle state") Signed-off-by: Ulf Hansson <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions