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

Skip to content
Commit c47f5bc2 authored by Stepan Moskovchenko's avatar Stepan Moskovchenko Committed by Stephen Boyd
Browse files

hwmon: qpnp-vadc: Fix probe error paths



Execute the complete probe failure path in the event that
QPNP VADC registers could not be read, to prevent a
use-after-free scenario with the qpnp_vadc data structure.

Change-Id: Ib22faded23d9bc5939f1481bfcd21f7235699b16
Signed-off-by: default avatarStepan Moskovchenko <stepanm@codeaurora.org>
parent 2aaa445f
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