Re: [PATCH] pinctrl: freescale: imx: implement gpio_disable_free for Vybrid

From: Linus Walleij
Date: Wed Jan 27 2016 - 09:05:01 EST


On Fri, Jan 8, 2016 at 7:50 PM, Stefan Agner <stefan@xxxxxxxx> wrote:

> The Freescale Vybrid SoC has GPIO capabilities as part of the
> IOMUXC. To enable GPIO's, the gpio_request_enable callback has
> been implemented, however the corsponding gpio_disable_free
> callback is missing. So far, disabling (unexporting) a GPIO left
> the pin in its last state.
>
> Implement a proper gpio_disable_free function which clears the
> three enable bits which influence the state (IBE, OBE and PUE).
>
> Signed-off-by: Stefan Agner <stefan@xxxxxxxx>

Patch applied.

Yours,
Linus Walleij