From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx> On Thu, 06 Jun 2024 15:31:02 +1200, Mark Tomlinson wrote: > The GPIO drivers with latch interrupt support (typically types starting > with PCAL) have interrupt status registers to determine which particular > inputs have caused an interrupt. Unfortunately there is no atomic > operation to read these registers and clear the interrupt. Clearing the > interrupt is done by reading the input registers. > > The code was reading the interrupt status registers, and then reading > the input registers. If an input changed between these two events it was > lost. > > [...] Queued for fixes. Thanks Andy for taking the time to review it. [1/1] gpio: pca953x: Improve interrupt support commit: d6179f6c6204f9932aed3a7a2100b4a295dfed9d Best regards, -- Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>