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

Bastian Hecht hechtb at googlemail.com
Fri Jul 6 12:39:29 EDT 2012


2012/7/6 David Woodhouse <dwmw2 at infradead.org>:
> 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?

This is pure ignorance from me - I have no idea what is right. Might
be the lucky shot that is superior to woman's/man's craft.

> --
> dwmw2



More information about the linux-mtd mailing list