power/greedy: Call pm_auto_updatestate in timeout callback
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
0d1515f7fb
commit
959031ebca
|
@ -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);
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
|
Loading…
Reference in New Issue