[PATCH 0/2] leds: freeze delayed hardware access during suspend
From: Jiale Yao
Date: Fri Oct 16 2026 - 06:14:15 EST
The TPS6131x torch watchdog refresh and CR0014114 firmware recount
callbacks perform bus transfers from delayed work. Both callbacks use the
non-freezable system workqueue and can run after their I2C or SPI controller
has been suspended.
Queue both callbacks on system_freezable_wq. This freezes their hardware
access before device suspend and resumes it after devices become available
again. Each patch is independent and can be applied separately.
Jiale Yao (2):
leds: tps6131x: queue torch refresh work on freezable workqueue
leds: cr0014114: queue recount work on freezable workqueue
drivers/leds/flash/leds-tps6131x.c | 11 +++++++----
drivers/leds/leds-cr0014114.c | 6 ++++--
2 files changed, 11 insertions(+), 6 deletions(-)
--
2.34.1