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

Skip to content
Commit 8f0e2fb9 authored by Ashay Jaiswal's avatar Ashay Jaiswal Committed by Gerrit - the friendly Code Review server
Browse files

power: smb1390: fix NULL pointer de-reference in resume path



Add checks before accessing/de-referencing the pointers.
While at it, add a separate "is_writeable" callback for the slave
SMB1390.

Change-Id: I397f31b526e8d168a7c4bd2831c6dc5fe2fcc83e
Signed-off-by: default avatarAshay Jaiswal <ashayj@codeaurora.org>
parent d3d6e9be
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