]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
hwmon: (ina2xx) fix sysfs shunt resistor read access
authorLothar Felten <lothar.felten@gmail.com>
Tue, 14 Aug 2018 07:09:37 +0000 (09:09 +0200)
committerJuerg Haefliger <juergh@canonical.com>
Wed, 24 Jul 2019 01:51:31 +0000 (19:51 -0600)
commit33e029f4dfa8fdd36dcedd0e23147fb5a9b5215f
treecafa4bdcd24e3ba2424e8d510855cab1692d2163
parente60c083adb0c3d73c03243d10c348aa4fcda4491
hwmon: (ina2xx) fix sysfs shunt resistor read access

BugLink: https://bugs.launchpad.net/bugs/1836287
[ Upstream commit 3ad867001c91657c46dcf6656d52eb6080286fd5 ]

fix the sysfs shunt resistor read access: return the shunt resistor
value, not the calibration register contents.

update email address

Signed-off-by: Lothar Felten <lothar.felten@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
Documentation/hwmon/ina2xx
drivers/hwmon/ina2xx.c
include/linux/platform_data/ina2xx.h