pm: fix when RTC_HIRES enabled pm procfs err
Signed-off-by: buxiasen <buxiasen@xiaomi.com>
This commit is contained in:
parent
6ef6d75840
commit
c9170c3b0a
|
@ -95,6 +95,10 @@ void pm_initialize(void)
|
|||
#endif
|
||||
pm_set_governor(i, gov);
|
||||
|
||||
#if defined(CONFIG_PM_PROCFS)
|
||||
clock_systime_timespec(&g_pmglobals.domain[i].start);
|
||||
#endif
|
||||
|
||||
nxrmutex_init(&g_pmglobals.domain[i].lock);
|
||||
|
||||
#if CONFIG_PM_GOVERNOR_EXPLICIT_RELAX
|
||||
|
|
Loading…
Reference in New Issue