[PATCH v2 0/3] thermal: Fix workqueue-related issues in drivers

From: Geert Uytterhoeven
Date: Fri Oct 12 2018 - 06:25:30 EST


Hi,

This patch series fixes workqueue-related issues in the Renesas R-Car
Thermal and Dialog DA9062/9061 PMIC drivers, where the workqueue may run
while the device is suspended, or unbound.
The R-Car Thermal driver fixes have been tested on R-Car M2-W and R-Mobile
APE6.
The DA9062/9061 fixes have been compile-tested only.

Changes compared to v1:
- Add Reviewed-by.

Note: The Intel PowerClamp driver also uses schedule_delayed_work(), but I
believe that is OK, as the thermal registers are part of the CPU.

Thanks!

Geert Uytterhoeven (3):
thermal: rcar_thermal: Prevent hardware access during system suspend
thermal: rcar_thermal: Prevent doing work after unbind
thermal: da9062/61: Prevent hardware access during system suspend

drivers/thermal/da9062-thermal.c | 4 ++--
drivers/thermal/rcar_thermal.c | 5 +++--
2 files changed, 5 insertions(+), 4 deletions(-)

--
2.17.1

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds