[PATCH 8/8] ARM: tegra: HACK: remove set_irq_flags() from driver
Arnd Bergmann
arnd at arndb.de
Thu Mar 1 15:40:17 EST 2012
On Thursday 01 March 2012, Linus Walleij wrote:
> The kernel is full of this kind of stuff (drivers/mfd/twl4030-irq.c):
>
> #ifdef CONFIG_ARM
> /* ARM requires an extra step to clear IRQ_NOREQUEST, which it
> * sets on behalf of every irq_chip. Also sets IRQ_NOPROBE.
> */
> set_irq_flags(irq, IRQF_VALID);
> #else
> /* same effect on other architectures */
> irq_set_noprobe(irq);
> #endif
That is the implementation of an irq_chip, not a random device driver.
Arnd
More information about the linux-arm-kernel
mailing list