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

Linus Walleij linus.walleij at linaro.org
Wed Jan 27 06:04:56 PST 2016


On Fri, Jan 8, 2016 at 7:50 PM, Stefan Agner <stefan at agner.ch> 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 at agner.ch>

Patch applied.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list