[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <173870057719.106350.17999921686110317967.b4-ty@linaro.org>
Date: Tue, 4 Feb 2025 21:27:46 +0100
From: Bartosz Golaszewski <brgl@...ev.pl>
To: linus.walleij@...aro.org,
brgl@...ev.pl,
Mark Tomlinson <mark.tomlinson@...iedtelesis.co.nz>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: Bartosz Golaszewski <bartosz.golaszewski@...aro.org>,
linux-gpio@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] gpio: pca953x: Improve interrupt support
From: Bartosz Golaszewski <bartosz.golaszewski@...aro.org>
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@...aro.org>
Powered by blists - more mailing lists