Skip to content
Commit 96fb716a authored by Elieva Pignat's avatar Elieva Pignat Committed by ronald-cron-arm
Browse files

alarm: clear pending interrupt when an alarm is stopped



If alarm_stop() is called while the interrupt are globally disabled,
it is possible that an interrupt is pending because the alarm being stopped
has triggered. To avoid the execution of the timer ISR after the alarm has
been stopped, this interrupt is cleared in the function.

Change-Id: I3bbce3aeb447546e541b3d6d453a16f5b4db9445
Signed-off-by: default avatarElieva Pignat <Elieva.Pignat@arm.com>
parent 41a84fa1
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