Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pm: fix handling reset prep in incorrect place #25

Merged
merged 1 commit into from
Sep 6, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions bsp_sedi/soc/intel_ish/pm/aon/aon_task.c
Original file line number Diff line number Diff line change
Expand Up @@ -647,9 +647,6 @@ static void handle_d0i2(void)

clear_vnnred_aoncg();

if (read32(PMU_RST_PREP) & PMU_RST_PREP_AVAIL)
handle_reset(ISH_PM_STATE_RESET_PREP);

#ifdef CONFIG_SOC_INTEL_ISH_5_6_0
sram_exit_sleep_mode();
#else
Expand All @@ -664,6 +661,9 @@ static void handle_d0i2(void)
continue;
#endif

if (read32(PMU_RST_PREP) & PMU_RST_PREP_AVAIL)
handle_reset(ISH_PM_STATE_RESET_PREP);

if (aon_share.pg_exit)
ish_dma_set_msb(PAGING_CHAN, aon_share.uma_msb,
aon_share.uma_msb);
Expand Down