xtensa/esp32: Announce the power management state change to feed watchdog
This commit is contained in:
parent
2991418b2e
commit
cb8d267230
@ -152,6 +152,12 @@ static void up_idlepm(void)
|
|||||||
|
|
||||||
pm_relax(PM_IDLE_DOMAIN, PM_NORMAL);
|
pm_relax(PM_IDLE_DOMAIN, PM_NORMAL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef CONFIG_WATCHDOG
|
||||||
|
/* Announce the power management state change to feed watchdog */
|
||||||
|
|
||||||
|
pm_changestate(PM_IDLE_DOMAIN, PM_NORMAL);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user