Re: [PATCH] gpio: mxs: Use set and clear capabilities of the gpio controller

From: Linus Walleij
Date: Mon May 20 2013 - 14:15:48 EST

On Mon, Apr 29, 2013 at 4:07 PM, Maxime Ripard
<maxime.ripard@xxxxxxxxxxxxxxxxxx> wrote:

> The current driver doesn't use the set and clear registers found on the
> mxs gpio controller.
> This leads the generic gpio controller to be using some internal value
> to avoid looking up the value stored in the registers, making it behave
> pretty much like a cache.
> This raises some coherency problem when a gpio is not modified by the
> gpio controller, while it can easily be fixed by using the set and clear
> registers.
> Signed-off-by: Maxime Ripard <maxime.ripard@xxxxxxxxxxxxxxxxxx>

Patch applied for rc-fixes with Shawns ACK.

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
Please read the FAQ at