Re: [PATCH] gpio: 104-idio-16: Clear pending interrupt in IRQ handler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Dec 3, 2015 at 2:23 AM, William Breathitt Gray
<vilhelm.gray@xxxxxxxxx> wrote:

> The ACCES 104-IDIO-16 uses a single interrupt to indicate a possible
> change-of-state in any of the digital input lines. As such, only a
> single write to the device's "Clear Interrupt" register is necessary to
> acknowledge the IRQ for all respective GPIO.
>
> This patch moves the "Clear Interrupt" register write operation from the
> irq_ack callback to the IRQ handler function, wherefore each interrupt
> may be cleared respectively by executing a single outb call at the end
> of the idio_16_irq_handler function, rather than multiple redundant outb
> calls as a result of the generic_handle_irq call for each masked GPIO.
>
> Signed-off-by: William Breathitt Gray <vilhelm.gray@xxxxxxxxx>

Rebased and applied this patch.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux