From: Bartosz Golaszewski bartosz.golaszewski@linaro.org
On Mon, 12 May 2025 11:54:41 +0200, Francesco Dolcini wrote:
If an input changes state during wake-up and is used as an interrupt source, the IRQ handler reads the volatile input register to clear the interrupt mask and deassert the IRQ line. However, the IRQ handler is triggered before access to the register is granted, causing the read operation to fail.
As a result, the IRQ handler enters a loop, repeatedly printing the "failed reading register" message, until `pca953x_resume()` is eventually called, which restores the driver context and enables access to registers.
[...]
Applied, thanks!
[1/1] gpio: pca953x: fix IRQ storm on system wake up https://git.kernel.org/brgl/linux/c/3e38f946062b4845961ab86b726651b4457b2af8
Best regards,