Commit f244aa75 authored by Guenter Roeck's avatar Guenter Roeck Committed by Michal Simek
Browse files

hwmon: (pmbus) Support per-page exponent in linear mode



Some chips use different exponents for sensors on different pages
or rails. Detect and store exponent per page to support this situation.

This fixes a problem with wrong voltages seen on UCD90120.

Reported-by: default avatarSoren Brinkmann <soren.brinkmann@xilinx.com>
Tested-by: default avatarSoren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent 42bf878f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment