Re: [U-Boot] [PATCH] mxc_gpio: Correct the GPIO handling in gpio_direction_output()

2013-07-24 Thread Stefano Babic
On 15/07/2013 15:58, Dirk Behme wrote: Setting the direction and an output value should be done by First, set the desired output value. Then, switch to output. If this is done in the inverse order, like at the moment, there can be a glitch on the GPIO line while switching first the old

Re: [U-Boot] [PATCH] mxc_gpio: Correct the GPIO handling in gpio_direction_output()

2013-07-16 Thread Stefano Babic
On 15/07/2013 15:58, Dirk Behme wrote: Setting the direction and an output value should be done by First, set the desired output value. Then, switch to output. If this is done in the inverse order, like at the moment, there can be a glitch on the GPIO line while switching first the old

[U-Boot] [PATCH] mxc_gpio: Correct the GPIO handling in gpio_direction_output()

2013-07-15 Thread Dirk Behme
Setting the direction and an output value should be done by First, set the desired output value. Then, switch to output. If this is done in the inverse order, like at the moment, there can be a glitch on the GPIO line while switching first the old output value and aftwards the new one. Fix