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

Skip to content
Commit 51e69715 authored by Jishnu Prakash's avatar Jishnu Prakash
Browse files

hwmon: qpnp-adc: Correct return statement in VADC HC read API



Remove return statement in case of failure to write to calibration
peripheral and replace with goto statement to ensure mutex is released.

Change-Id: Iea91c80f5049d4ad7cb43a9ce8e7338ad522624d
Signed-off-by: default avatarJishnu Prakash <jprakash@codeaurora.org>
parent 93bc65b1
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