Home
last modified time | relevance | path

Searched hist:ac135f66992f65959fcf8245f2ea8a9109a4a913 (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/gpio/
H A Dmxs_gpio.cac135f66992f65959fcf8245f2ea8a9109a4a913 Sun Nov 03 21:59:26 UTC 2013 Michael Heimpold <mhei@heimpold.de> mxs_gpio: fix the handling in gpio_direction_output()

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@heimpold.de>
Acked-by: Stefano Babic <sbabic@denx.de>