summaryrefslogtreecommitdiff
path: root/rust/kernel
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.cirrus.com>2025-09-03 10:45:48 +0100
committerLee Jones <lee@kernel.org>2025-10-01 10:28:55 +0100
commit62aec8a0a5b61f149bbe518c636e38e484812499 (patch)
tree807db10b73ea078dd769d24bdf13caef7e8f16bd /rust/kernel
parentd952bba3fbb5d8a3c961e32bae3f7ff19a18762f (diff)
mfd: cs42l43: Move IRQ enable/disable to encompass force suspend
As pm_runtime_force_suspend() will force the device state to suspend, the driver needs to ensure no IRQ handlers are currently running. If not those handlers may find they are now running on suspended hardware despite holding a PM runtime reference. disable_irq() will sync any currently running handlers, so move the IRQ disabling to cover the whole of the forced suspend state to avoid such race conditions. Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Link: https://lore.kernel.org/r/20250903094549.271068-6-ckeepax@opensource.cirrus.com Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'rust/kernel')
0 files changed, 0 insertions, 0 deletions