diff options
author | Guenter Roeck <linux@roeck-us.net> | 2022-06-29 08:26:20 -0700 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2022-07-13 08:39:17 -0700 |
commit | 5993b9887ac3b80fba78e1a488ac748d6e4429c1 (patch) | |
tree | 7f9225e97d5eec67cdfcfe20087bb0cc3498dc0c /tools/perf/scripts/python/libxed.py | |
parent | 8f9eb10ff71d8e3beeee3f8d19050223600faf85 (diff) |
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: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Tested-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Fixes: f6d0775119fb ("hwmon: (lm90) Rework alarm/status handling")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions