[U-Boot] [PATCH] mxs_gpio: fix the handling in gpio_direction_output()
Stefano Babic
sbabic at denx.de
Wed Nov 13 10:13:27 CET 2013
On 03/11/2013 22:59, Michael Heimpold wrote:
> Setting the direction and an output value should be done by
> 1) set the desired output value,
> 2) switch to output.
>
> If this is done in the inverse order, there can be a glitch on
> the GPIO line.
>
> This patch fixes this by using the order as described above.
>
> Signed-off-by: Michael Heimpold <mhei at heimpold.de>
> ---
Applied to u-boot-imx, thanks.
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
More information about the U-Boot
mailing list