[PATCHv2] mmci: work with only one irq

Linus Walleij linus.ml.walleij at gmail.com
Mon Oct 11 05:13:18 EDT 2010


2010/10/11 Rabin Vincent <rabin.vincent at stericsson.com>:

> The DBx500 variants have only one IRQ line hooked up.  Allow these (and
> any other implementations which choose to use only one irq) to work by
> directing the PIO interrupts also to the first IRQ line.
> (...)
> +               /* MCI_DATABLOCKEND not used with single irq */
> +               if (host->singleirq && !data->error)
> +                       host->data_xfered = data->blksz * data->blocks;
> +

I replaced that last line with:
host->data_xfered += data->blksz * data->blocks;

In my follow-on "support out-of-order IRQ events" patch, does it make sense?

Once this is in the patch system I'll rebase that patch too...

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list