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

Skip to content
Commit cf48d8d6 authored by Zhenhua Huang's avatar Zhenhua Huang Committed by Pradosh Das
Browse files

power: smb135x-charger: Store the initial IRQ status register value



There is a possibility that an IRQ status change may not registered
if the IRQ status value (prev_val) is not updated while reading the
initial state. Make sure that the IRQ status is updated in the irq
handler structure.

Change-Id: I2acbe4e9cfc12abc64f81d65cfc0863ea8004adb
Signed-off-by: default avatarZhenhua Huang <zhenhuah@codeaurora.org>
Signed-off-by: default avatarAshay Jaiswal <ashayj@codeaurora.org>
parent 1a3c0eeb
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