Re: [PATCH 1/2] regmap: irq: Add support to call client specific pre/post interrupt service

From: Lee Jones
Date: Wed Jun 08 2016 - 10:32:45 EST


On Fri, 03 Jun 2016, Mark Brown wrote:

> On Fri, May 20, 2016 at 08:40:26PM +0530, Laxman Dewangan wrote:
> > Regmap irq implements the generic interrupt service routine which
> > is common for most of devices. Some devices, like MAX77620, MAX20024
> > needs the special handling before and after servicing the interrupt
> > as generic. For the example, MAX77620 programming guidelines for
> > interrupt servicing says:
>
> I've tagged this for pulling into other trees:

Thanks Mark.

> The following changes since commit 1a695a905c18548062509178b98bc91e67510864:
>
> Linux 4.7-rc1 (2016-05-29 09:29:24 -0700)
>
> are available in the git repository at:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git tags/regmap-irq-pre-post
>
> for you to fetch changes up to ccc12561926c0bef9a40865db93b926a0927e93f:
>
> regmap: irq: Add support to call client specific pre/post interrupt service (2016-06-03 00:41:15 +0100)
>
> ----------------------------------------------------------------
> regmap: Add pre/post handling hooks for regmap-irq
>
> This is used by some devices with weird broken interrupt controllers
> that have trouble with new interrupts coming in during handling.
>
> ----------------------------------------------------------------
> Laxman Dewangan (1):
> regmap: irq: Add support to call client specific pre/post interrupt service
>
> drivers/base/regmap/regmap-irq.c | 15 +++++++++++----
> include/linux/regmap.h | 10 ++++++++++
> 2 files changed, 21 insertions(+), 4 deletions(-)



--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog