diff options
| author | Dmitry Baryshkov <[email protected]> | 2020-12-04 05:55:03 +0300 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2021-01-16 18:32:36 +0000 |
| commit | 3bd0ceb566f700adc5d164f431d1da039374aa97 (patch) | |
| tree | 8b68a9a26bcd8fd5ebf6fd226150f720781141de /lib/timerqueue.c | |
| parent | bb01e263743293d37148f1fa00e3ea04dca416a5 (diff) | |
iio: adc: qcom-vadc-common: rewrite vadc7 die temp calculation
qcom_vadc7_scale_hw_calib_die_temp() uses a table format different from
the rest of volt/temp conversion functions in this file. Also the
conversion functions results in non-monothonic values conversion, which
seems wrong.
Rewrite qcom_vadc7_scale_hw_calib_die_temp() to use
qcom_vadc_map_voltage_temp() directly, like the rest of conversion
functions do.
Signed-off-by: Dmitry Baryshkov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions