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

Skip to content
Commit 45ff4574 authored by Joonwoo Park's avatar Joonwoo Park Committed by Stephen Boyd
Browse files

mfd: wcd9xxx: clear unhandled interrupt request properly



Current irq handler writes INTR_STATUS registers to clear irqs incorrectly
when unhandled irq is detected while it has to write INTR_CLEAR instead.
Also INTR_MODE register needs to be updated after clearing interrupt
requests if hardware is running off i2c.

Fix irq handler to write correct reset value to INTR_CLEAR registers along
with INTR_MODE register update for i2c mode.

Change-Id: Icc6837c3937a5c1251dd1821154ed4cb676ec063
Signed-off-by: default avatarJoonwoo Park <joonwoop@codeaurora.org>
parent aa82b53b
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