Files
linux/drivers/hwmon
Guenter Roeck c262357317 hwmon: (ina238) Correctly clamp power limits
ina238_write_power() was attempting to clamp the user input but was
throwing away the result. Ensure that we clamp the value to the
appropriate range before it is converted into a register value.

Fixes: 0d9f596b1f ("hwmon: (ina238) Modify the calculation formula to adapt to different chips")
Cc: Wenliang Yan <[email protected]>
Cc: Chris Packham <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
2025-09-01 08:03:05 -07:00
..
2025-06-16 06:30:57 -07:00
…
…
…
…
2025-03-18 08:03:40 -07:00
2025-05-12 18:05:54 -07:00
…
2025-04-23 07:18:27 -07:00
…
2024-11-10 14:48:07 -08:00