diff options
author | Eliav Farber <farbere@amazon.com> | 2022-09-08 18:24:33 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-09-15 12:32:06 +0300 |
commit | c9da73ae78cbed0ff3da955dc2cc637d8b72b63b (patch) | |
tree | 276cc5cc13178042008b3a2f2f46a6add301ad09 /Documentation/arm64/silicon-errata.rst | |
parent | 19841592aea64b0c44cea9eea37a65e0b0bfc03e (diff) | |
download | linux-c9da73ae78cbed0ff3da955dc2cc637d8b72b63b.tar.xz |
hwmon: (mr75203) fix multi-channel voltage reading
[ Upstream commit 91a9e063cdcfca8fe642b078d6fae4ce49187975 ]
Fix voltage allocation and reading to support all channels in all VMs.
Prior to this change allocation and reading were done only for the first
channel in each VM.
This change counts the total number of channels for allocation, and takes
into account the channel offset when reading the sample data register.
Fixes: 9d823351a337 ("hwmon: Add hardware monitoring driver for Moortec MR75203 PVT controller")
Signed-off-by: Eliav Farber <farbere@amazon.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20220908152449.35457-6-farbere@amazon.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'Documentation/arm64/silicon-errata.rst')
0 files changed, 0 insertions, 0 deletions