Re: [hwmon PATCH v2 5/8] hwmon: (adt7470) Fix temperature alarm logic in hwmon_temp_read()
Guenter Roeck <[email protected]> Mon, 27 Jul 2026 17:55:54 -0700
| Newsgroups | org.kernel.vger.linux-hwmon,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Jul 27, 2026 at 09:22:21PM -0300, Luiz Angelo Daros de Luca wrote: > During the conversion the alarm callback started interpreting the > channel index as an alarm bitmask, resulting in incorrect alarm > reporting. Compute the proper alarm bit instead. > > Reported-by: [email protected] > Closes: https://lore.kernel.org/r/[email protected] > Fixes: fc958a61ff6d ("hwmon: (adt7470) Convert to devm_hwmon_device_register_with_info API") > Signed-off-by: Luiz Angelo Daros de Luca <[email protected]> Applied. Thanks, Guenter