lkml.org 
[lkml]   [2022]   [Jun]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] hwmon: (lm90) Use worker for alarm notifications
From
On 6/29/22 18:42, Guenter Roeck wrote:
> 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>
> Fixes: e182cf579f0f ("hwmon: (lm90) Rework alarm/status handling")
> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
> ---
> Dmitry,
>
> can you give this patch a try in your system ?

It works, thanks!

Tested-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>

--
Best regards,
Dmitry

\
 
 \ /
  Last update: 2022-06-29 22:03    [W:0.094 / U:0.620 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site