Re: [PATCH] hwmon: (acpi_power_meter) Fix 18.45 TW bug

From: Armin Wolf

Date: Mon Oct 19 2026 - 18:49:16 EST


Am 19.10.26 um 22:53 schrieb Guenter Roeck:

On Wed, Oct 07, 2026 at 01:45:34AM +0200, Armin Wolf wrote:
The ACPI specification says:

"If an error occurs while obtaining the meter reading or if the value
is not available then an Integer with all bits set is returned"

This integer can also be 64-bit wide on ACPI 2.0 and later systems,
so we have to check for that too.

Compile-tested only.

Reported-by: Grant Slater <github@xxxxxxxxxxxxx>
Closes: https://github.com/lm-sensors/lm-sensors/issues/460
Fixes: 1fefca6c57fb ("hwmon: (acpi_power_meter) Fix 4.29 MW bug")
Signed-off-by: Armin Wolf <W_Armin@xxxxxx>
Applied.

Thanks,
Guenter

Thank you :)