[PATCH 1/3] gpio: sx150x: move to irqdomain framework for sx150x driver
Linus Walleij
linus.walleij at linaro.org
Fri Jan 9 01:53:49 PST 2015
On Thu, Dec 4, 2014 at 1:12 PM, Barry Song <21cnbao at gmail.com> wrote:
> From: Wei Chen <Wei.Chen at csr.com>
>
> The sx150x gpio driver used a loop to set liner irq map for gpio pins.
> Now we use the irq domain to rebuild this irq mappig and make sure the
> codes are still compatible to old users.
>
> this patch also adds IRQF_ONESHOT flag to fix the IRQ flooding issues.
>
> Signed-off-by: Wei Chen <Wei.Chen at csr.com>
> Signed-off-by: Barry Song <Baohua.Song at csr.com>
Excellent, patch applied.
I added select GPIOLIB_IRQCHIP to the Kconfig though, to
make sure we have the proper library functions.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list