[PATCH v4 2/8] mtd: sh_flctl: Add support for error IRQ

David Woodhouse dwmw2 at infradead.org
Fri Jul 6 11:51:48 EDT 2012


On Mon, 2012-05-14 at 14:14 +0200, Bastian Hecht wrote:
> +       irq = platform_get_irq(pdev, 0);
> +       if (irq < 0) {

Is that correct? I know we have sometimes suffered from the insanity of
assuming that irq 0 is *invalid*, and you're treating it as valid here.
Did we recover from our insanity?

-- 
dwmw2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 6171 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20120706/c011665c/attachment.bin>


More information about the linux-mtd mailing list