]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
hwmon: (lm90) Fix sysfs and udev notifications
authorGuenter Roeck <linux@roeck-us.net>
Tue, 11 Jan 2022 07:23:31 +0000 (23:23 -0800)
committerPaolo Pisati <paolo.pisati@canonical.com>
Thu, 3 Feb 2022 09:28:53 +0000 (10:28 +0100)
commit65f82bec937d55a319c9fa850624b2c09551241b
tree0dda4a1432a0bc6532de646c8bdea2e126559f4d
parent35ad03d9a64c4c4c0f7907181b510e9b8d793c27
hwmon: (lm90) Fix sysfs and udev notifications

BugLink: https://bugs.launchpad.net/bugs/1959879
[ Upstream commit d379880d9adb9f1ada3f1266aa49ea2561328e08 ]

sysfs and udev notifications need to be sent to the _alarm
attributes, not to the value attributes.

Fixes: 94dbd23ed88c ("hwmon: (lm90) Use hwmon_notify_event()")
Cc: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
drivers/hwmon/lm90.c