Skip to content

Commit cd9c972

Browse files
Deshatty, Deeptiddeshat
authored andcommitted
aon: The handle_reset_in_aontask() API expects the reset to be
managed within the AON task. Therefore, a check has been added at the entry point of the AON task to ensure the reset is handled after switching. Change-Id: I1f841e5291d7f85e7a2ce49c559721d52918c645
1 parent bc8fd70 commit cd9c972

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bsp_sedi/soc/intel_ish/pm/aon/aon_task.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -874,6 +874,9 @@ void ish_aon_main(void)
874874

875875
aon_share.last_error = AON_SUCCESS;
876876

877+
if (read32(PMU_RST_PREP) & PMU_RST_PREP_AVAIL)
878+
handle_reset(ISH_PM_STATE_RESET_PREP);
879+
877880
switch (aon_share.pm_state) {
878881
case ISH_PM_STATE_D0I2:
879882
handle_d0i2();

0 commit comments

Comments
 (0)