Re: [PATCH v4 09/11] thermal: core: Stop polling DISABLED thermal devices

2020-06-24 Thread Bartlomiej Zolnierkiewicz
On 5/28/20 9:20 PM, Andrzej Pietrasiewicz wrote: > Polling DISABLED devices is not desired, as all such "disabled" devices > are meant to be handled by userspace. This patch introduces and uses > should_stop_polling() to decide whether the device should be polled or not. > > Signed-off-by: Andr

[PATCH v4 09/11] thermal: core: Stop polling DISABLED thermal devices

2020-05-28 Thread Andrzej Pietrasiewicz
Polling DISABLED devices is not desired, as all such "disabled" devices are meant to be handled by userspace. This patch introduces and uses should_stop_polling() to decide whether the device should be polled or not. Signed-off-by: Andrzej Pietrasiewicz --- drivers/thermal/thermal_core.c | 16 ++