power/greedy: Call pm_auto_updatestate in timeout callback

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-06-21 19:46:51 +08:00 committed by Xiang Xiao
parent 0d1515f7fb
commit 959031ebca
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}
/****************************************************************************