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

Commit 2278a16b authored by Rama Krishna Phani A's avatar Rama Krishna Phani A Committed by Siddartha Mohanadoss
Browse files

hwmon: qpnp-adc-voltage: Update default scale function for VADC



ADC channel values that uses absolute calibration and default
scale function are out of range.

Scale voltage should be multiplied by thousand for non absolute
channels that uses default scale function. Update the condition
accordingly.

Change-Id: Ibfa35109e4bf930bb495fff8fa6494d51b12a76b
Signed-off-by: default avatarRama Krishna Phani A <rphani@codeaurora.org>
parent 718b9859
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