Skip to content
Commit b8d27d2c authored by Ninad Malwade's avatar Ninad Malwade Committed by Guenter Roeck
Browse files

hwmon: (ina3221) Fix shunt sum critical calculation

The shunt sum critical limit register value should be left shifted
by one bit as its LSB-0 is a reserved bit.

Fixes: 2057bdfb

 ("hwmon: (ina3221) Add summation feature support")
Signed-off-by: default avatarNinad Malwade <nmalwade@nvidia.com>
Reviewed-by: default avatarThierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20221108044508.23463-1-nmalwade@nvidia.com
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 07e06193
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