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

Commit 2d41a577 authored by Umang Agrawal's avatar Umang Agrawal
Browse files

power: qpnp-charger: Fix null pointer dereference error



Fix to prevent null pointer dereference error in the led brightness
set function by an initial check to determine whether the
power_supply structure is defined or not.

CRs-Fixed: 2166164
Change-Id: Ifcd6e55aa78c4c4d4dc539ac6ffe67263d198b47
Signed-off-by: default avatarUmang Agrawal <uagrawal@codeaurora.org>
parent f38ea00b
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