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

Skip to content
Commit 4d79640a authored by David Keitel's avatar David Keitel Committed by Stephen Boyd
Browse files

power: qpnp-charger: check base address in qpnp_chg_write/read



When one of the peripherals is not initialized it may occur
that an incorrect register may be attempted to be written.

Fix this by adding a check for the base address when attempting
a spmi read or write.

CRs-Fixed: 495966
Change-Id: I6d9fd3fe747992e5e601cef210eb19875ce9036c
Signed-off-by: default avatarDavid Keitel <dkeitel@codeaurora.org>
parent 705c1571
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