diff options
author | Robert Marko <robert.marko@sartura.hr> | 2021-06-10 01:07:28 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2021-06-10 18:40:09 +0300 |
commit | e13d1127241404f1c3eb1379ac4dd100eaf385b4 (patch) | |
tree | 2cad5f7706b0144a6a110c4709792c8249d9c0e6 /drivers/spi/spi-bcm2835.c | |
parent | b325d3526e14942d42c392c2ac9fbea59c22894c (diff) | |
download | linux-e13d1127241404f1c3eb1379ac4dd100eaf385b4.tar.xz |
hwmon: (tps23861) correct shunt LSB values
Current shunt LSB values got reversed during in the
original driver commit.
So, correct the current shunt LSB values according to
the datasheet.
This caused reading slightly skewed current values.
Fixes: fff7b8ab2255 ("hwmon: add Texas Instruments TPS23861 driver")
Signed-off-by: Robert Marko <robert.marko@sartura.hr>
Link: https://lore.kernel.org/r/20210609220728.499879-3-robert.marko@sartura.hr
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/spi/spi-bcm2835.c')
0 files changed, 0 insertions, 0 deletions