[PATCH] ata: Don't use NO_IRQ in pata_of_platform driver
Dave Martin
dave.martin at linaro.org
Tue Dec 6 08:25:27 EST 2011
On Tue, Dec 06, 2011 at 11:49:52AM +0000, Russell King - ARM Linux wrote:
> On Tue, Dec 06, 2011 at 11:37:35AM +0000, Dave Martin wrote:
> > 1) All OF code and drivers should be migrating to use 0 instead of NO_IRQ
> > for the no-interrupt case. Code which receives irq numbers directly
> > from the OF framework and refers to NO_IRQ, or expects 0 to be a valid
> > needs to be fixed.
> >
> > 2) Where we hit a problem, board code needs to be adapted to remap HW IRQs
> > 0-15 to different software values. (This could be done using irq
> > domains, or not)
>
> No AMBA driver I'm aware of ever uses an IRQ number 0 or is passed such
> an IRQ number.
OK, hopefully we can safely ignore that case, then.
But other than that, you're in agreement?
Cheers
---Dave
More information about the linux-arm-kernel
mailing list