aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-pow.c
diff options
context:
space:
mode:
authorAnthony Olech <[email protected]>2013-12-18 15:15:31 +0000
committerGuenter Roeck <[email protected]>2014-01-14 21:36:31 -0800
commitc09088d934c1e1672be8b3cfe3ba4f40ab2bf13e (patch)
treeccecdb9e0c835bb9d36e6b800eed08f9fd9eb713 /lib/mpi/mpi-pow.c
parent9fb6c9c73b11bef65ba80a362547fd116c1e1c9d (diff)
hwmon: (da9052) Fix adc to voltage calculation
The ADC resolution of the PMIC is 10-bits, this means that the maximum possible value is 1023 and not the 1024 as originally in the code. Signed-off-by: Anthony Olech <[email protected]> Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-pow.c')
0 files changed, 0 insertions, 0 deletions