Skip to content
Commit a2058995 authored by Mohamed Omar Asaker's avatar Mohamed Omar Asaker
Browse files

mod/system_coordinator: Fix handling of final phase transition



Ensure phase processing only occurs when the next phase index is valid.
Previously, a timer could be started or a phase event sent even if the
current phase was the last one, depending on the `phase_us` value.
This patch adds a check to prevent processing beyond the last valid
phase, ensuring safe termination of the phase sequence.

Signed-off-by: Mohamed Omar Asaker's avatarMohamed Omar Asaker <mohamed.omarasaker@arm.com>
parent 73589981
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment