Commit f6adab79 authored by Yan He's avatar Yan He
Browse files

hwmon: epm_adc: Update the physical result



The scaling function multiplies the ADC code with
a high scale factor to avoid rouding accuracy errors.
This results in a 32 bit integer not being sufficient
to store the result. Therefore use a 64 bit integer
type to process the result.

Change-Id: Iee5ec105d66012efef9e9674de2e8aa0c886d31f
Signed-off-by: default avatarYan He <yanhe@codeaurora.org>
parent d01163e1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment