diff options
author | Vadim Pasternak <vadimp@mellanox.com> | 2020-02-25 00:52:02 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2020-02-25 13:23:26 -0800 |
commit | deddc9e8c0e05c2a770d3c9e6683c7ae216741ca (patch) | |
tree | 0b820b07e59012ec5c69ef07e80d9bb748ac6119 /lib/notifier-error-inject.c | |
parent | c77ec025346f122bb74719725331c6386bbb86b7 (diff) | |
download | linux-deddc9e8c0e05c2a770d3c9e6683c7ae216741ca.tar.bz2 |
hwmon: (pmbus/xdpe12284) Add callback for vout limits conversion
Provide read_word_data() callback for overvoltage and undervoltage
output readouts conversion. These registers are presented in
'slinear11' format, while default conversion for 'vout' class for the
devices is 'vid'. It is resulted in wrong conversion in pmbus_reg2data()
for in{3-4}_lcrit and in{3-4}_crit attributes.
)
Fixes: aaafb7c8eb1c ("hwmon: (pmbus) Add support for Infineon Multi-phase xdpe122 family controllers")
Signed-off-by: Vadim Pasternak <vadimp@mellanox.com>
Link: https://lore.kernel.org/r/20200224225202.19576-1-vadimp@mellanox.com
[gropeck: Adjusted to mainline PMBus API]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'lib/notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions