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

Skip to content
Commit a2b6d9b7 authored by Xiaozhe Shi's avatar Xiaozhe Shi
Browse files

power: qpnp-fg: fix null pointer dereference in suspend



Currently the driver uses the drvdata to get the chip data structure
during the pm ops for suspend. However, the drvdata is not set during
probe, so this ends up being a null pointer exception.

Fix this by setting the correct drvdata during probe.

CRs-Fixed: 709566
Change-Id: I978f3039c945d93cf43e6d53c5ace8a4d6105af5
Signed-off-by: default avatarXiaozhe Shi <xiaozhes@codeaurora.org>
parent 3511ae2a
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