Skip to content
Commit daa436e6 authored by Guenter Roeck's avatar Guenter Roeck
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>
parent 38dbfb59
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment