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

Skip to content
Commit a933d67e authored by Umang Agrawal's avatar Umang Agrawal Committed by Gerrit - the friendly Code Review server
Browse files

power: smbcharger: 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.

Change-Id: I09f793630c2ce98caa4a2c1b711bf7a4a9bd4eb5
Signed-off-by: default avatarUmang Agrawal <uagrawal@codeaurora.org>
parent 01087284
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment