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

Skip to content
Commit 499359b9 authored by Subbaraman Narayanamurthy's avatar Subbaraman Narayanamurthy
Browse files

power: qpnp-fg-gen4: Fix a possible NULL pointer dereference



Currently, in get_batt_psy_props(), batt_psy can be used even
before it can be obtained. Fix it.

CRs-Fixed: 2221940
Change-Id: Icc86695f89a53802d60a6e2c4dd97b58922d267f
Signed-off-by: default avatarSubbaraman Narayanamurthy <subbaram@codeaurora.org>
parent 8e8b850c
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