Re: [PATCH] gpio/langwell: re-read the IRQ status register after each iteration

From: Linus Walleij
Date: Fri May 11 2012 - 07:57:39 EST


On Thu, May 10, 2012 at 10:34 PM, Julia Lawall <julia.lawall@xxxxxxx> wrote:

> I tried the following:
>
> @@
> expression pending,gedr,e1;
> statement S;
> @@
>
> *pending = readl(gedr);
> ... when != pending = e1
> while (pending) S
>
> That is, a readl call followed by a while loop with no reassignment of
> pending.
>
> Perhaps the following are suspicious:
>
> arch/arm/mach-msm/dma.c, function msm_datamover_irq_handler
> drivers/gpio/gpio-msm-v1.c, function msm_gpio_irq_handler
>
> But I am not completely sure to understand what is wanted (or not wanted).

No problem, I will look at them.
Thanks Julia!

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/