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

Skip to content
Commit 6f849716 authored by Subbaraman Narayanamurthy's avatar Subbaraman Narayanamurthy
Browse files

power: qpnp-fg-gen4: Support booting without a battery



There are some requirements to boot without a battery but only
with a strong charger connected for factory testing. Add support
for this by detecting battery missing condition early in the
driver probe and handling it.

While at it, add power_supply_put() for bms psy so that the
ref count for that power supply is decremented correctly.

Change-Id: If33e300874fd0f64dee6ae98ee05ae32ba14930d
Signed-off-by: default avatarSubbaraman Narayanamurthy <subbaram@codeaurora.org>
parent 51ac4386
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