Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Acked-by: Stefano Babic <[email protected]>
- Loading branch information