Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e3aa950e authored by Gilad Avidov's avatar Gilad Avidov
Browse files

spmi-pmic-arb: ignore faulty interrupt bits



Due to some faulty HW/SW interaction during boot loader
time, the first accumulator bit may be incorectly set.
When the peripheral represented by this bit is not
owned by the application processor, it stays set forever,
confusing the interrupt controller to think that it
get interrupted by that peripheral when it isn't.
To amend this problem, we read the accumulator value
at boot time and compare that value to the accumulator
when new interrupt is handled. If a bit reperesenting
a peripheral was set at probe time, then it is ignored.

Change-Id: Iab3d70d6c63520ac7be1e77aba113cf5f46ec003
Signed-off-by: default avatarGilad Avidov <gavidov@codeaurora.org>
parent c1a5a21e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment