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

Linus Walleij linus.walleij at linaro.org
Mon May 20 14:15:43 EDT 2013


On Mon, Apr 29, 2013 at 4:07 PM, Maxime Ripard
<maxime.ripard at free-electrons.com> 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 at free-electrons.com>

Patch applied for rc-fixes with Shawns ACK.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list