xtensa/esp32: Announce the power management state change to feed watchdog

This commit is contained in:
chenwen 2020-11-24 11:33:38 +08:00 committed by Alan Carvalho de Assis
parent 2991418b2e
commit cb8d267230

View File

@ -152,6 +152,12 @@ static void up_idlepm(void)
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