OneNAND IRQ usage?

Pete MacKay linux at architechnical.net
Fri Apr 6 21:21:34 EDT 2007


We've dedicated a GPIO line on the PXA-270 to monitor the INT line of a 1G
OneNAND.  Using an IRQ resource and the "generic platform support" I was
able to get the OneNAND driver to request the IRQ, but the interrupt was
not being handled and the driver reverted to polling.  I was able to get
this to work by changing the IRQF_SHARED flag to IRQF_TRIGGER_FALLING. 
Should onenand_base.c be patched or am I mapping it to the platform
improperly?

Thanks,
Pete MacKay




More information about the linux-mtd mailing list