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

Skip to content
Commit d836ead7 authored by Ashay Jaiswal's avatar Ashay Jaiswal Committed by Umang Agrawal
Browse files

power: smb1355: force enable clock while device is active



To optimize on power the SMB hardware disables the Bandgap/clock
when the charger is removed. When this happens, the SMB1355 IRQ
line stays stuck in its last known state. I.e. if there was an
interrupt pending (the IRQ line is low) and if the Bandgap/clock
gets disabled, the line stays stuck low forever causing a storm of
interrupts.

Fix this by forcing SMB1355 clock "on" as long as device is up and
and running and turn off the clock in ship-mode and shutdown path.

Change-Id: If01e07c63119b6af555ffd064d1055417c6b3e46
Signed-off-by: default avatarAshay Jaiswal <ashayj@codeaurora.org>
Signed-off-by: default avatarUmang Agrawal <uagrawal@codeaurora.org>
parent b523954d
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