Skip to content
Commit 7c7611d1 authored by Dino Li's avatar Dino Li Committed by Carles Cufí
Browse files

it8xxx2: intc: Look for pending interrupt



The AIVECT (All Interrupt Vector Register) register provides us a quick
way to determine SOC interrupt number. But sometimes we get interrupt
number 0 from the register and caused assertion of unhandled interrupt.
To avoid the assertion, we look for all ISRs (Interrupt Status Register)
and IERs (Interrupt Enable Register) to find the highest priority pending
interrupt and return it to caller.

Signed-off-by: default avatarDino Li <Dino.Li@ite.com.tw>
parent bf37acc3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment