Hi, On Wed, Jan 15, 2014 at 6:02 PM, Maxime Ripard <[email protected]> wrote: > Hi Chen-Yu, > > Nice catch :) > > On Wed, Jan 15, 2014 at 04:21:12PM +0800, Chen-Yu Tsai wrote: >> Hi, >> >> On Wed, Jan 15, 2014 at 8:37 AM, Ma Haijun <[email protected]> wrote: >> > Hi, >> > >> > I think it is better to set the output value first to avoid glitch. >> >> If I understand the user manual correctly, setting the output value >> before changing the pin to output function first will have no effect. > > I just tested it on my A31, and it is working as expected (the output > value isn't output until the direction is changed). > > It would be great if you could test this as well on your device, and > change it like suggested.
Tested on A20, works as you described. Output value is queued and changed when pin function is changed to output. I will rearrange the function calls and resend. Cheers ChenYu -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
