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

Skip to content
Commit c5063d8c authored by David Keitel's avatar David Keitel Committed by Stephen Boyd
Browse files

power: qpnp-charger: only monitor bat_therm when bat_if present



If the battery interface peripheral is disabled, JEITA
notifications are not required.

Fix this by checking if the bat_if base address is
initialized before requesting vadc notifications.

Change-Id: I8b2b3132771879fce07c64d55b6fe614e20ce790
Signed-off-by: default avatarDavid Keitel <dkeitel@codeaurora.org>
parent 0ad4ee89
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