From 959031ebca487b70d6749570526f5bd007ed7ba3 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Tue, 21 Jun 2022 19:46:51 +0800 Subject: [PATCH] power/greedy: Call pm_auto_updatestate in timeout callback Signed-off-by: Xiang Xiao --- drivers/power/greedy_governor.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/power/greedy_governor.c b/drivers/power/greedy_governor.c index f40c8590c5..aa22d20076 100644 --- a/drivers/power/greedy_governor.c +++ b/drivers/power/greedy_governor.c @@ -141,6 +141,7 @@ static enum pm_state_e greedy_governor_checkstate(int domain) static void greedy_governor_timer_cb(wdparm_t arg) { + pm_auto_updatestate((int)arg); } /****************************************************************************