Re: [PATCH 04/11] pinctrl: sunxi: Properly handle level triggered gpio interrupts
From: Hans de Goede <hidden>
Date: 2014-06-11 09:13:02
Also in:
linux-arm-kernel, linux-devicetree, linux-mmc
From: Hans de Goede <hidden>
Date: 2014-06-11 09:13:02
Also in:
linux-arm-kernel, linux-devicetree, linux-mmc
Hi Linus, On 06/11/2014 11:00 AM, Linus Walleij wrote:
On Mon, May 26, 2014 at 9:47 AM, Hans de Goede [off-list ref] wrote:quoted
For level triggered gpio interrupts we need to use handle_fasteoi_irq, like we do with the irq-sunxi-nmi driver. This is necessary to give threaded interrupt handlers a chance to actuall clear the source of the interrupt (which may involve sleeping waitnig for i2c / spi / mmc transfers), before acknowledging the interrupt. Signed-off-by: Hans de Goede <redacted>I haven't seen any feedback on the pin controller patches in this series from Maxime, I might have missed it due to being tied to some other patch in the series. Anyway, this needs to be rebased and reposted anyway, I just merged some base patches from Maxime for external interrupts that will go in after the merge window, I need some help to figure out what and how to merge here.
No problem I plan to do a rebased v2 of the pinctrl bits in this series (and only the pinctrl bits) with some remarks from Maxime fixed soon. Regards, Hans