Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit bd467e4e authored by Robert Lippert's avatar Robert Lippert Committed by Guenter Roeck
Browse files

hwmon: (pmbus) Use 64bit math for DIRECT format values



Power values in the 100s of watt range can easily blow past
32bit math limits when processing everything in microwatts.

Use 64bit math instead to avoid these issues on common 32bit ARM
BMC platforms.

Fixes: 442aba78 ("hwmon: PMBus device driver")
Signed-off-by: default avatarRobert Lippert <rlippert@google.com>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent ed81cc61
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment