Skip to content
Commit 5993b988 authored by Guenter Roeck's avatar Guenter Roeck
Browse files

hwmon: (lm90) Use worker for alarm notifications



Reporting alarms using hwmon_notify_event() may result in a callback
from the thermal subsystem. This means that such notifications must
not hold the update lock to avoid a deadlock. To avoid this situation,
use a worker to handle notifications.

Reported-by: default avatarDmitry Osipenko <dmitry.osipenko@collabora.com>
Tested-by: default avatarDmitry Osipenko <dmitry.osipenko@collabora.com>
Fixes: f6d07751

 ("hwmon: (lm90) Rework alarm/status handling")
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 8f9eb10f
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