[U-Boot] [PATCH] gpio: mxc_gpio: Fix gpio_get_value() when the GPIO is an output

Otavio Salvador otavio at ossystems.com.br
Sun Sep 29 21:42:44 CEST 2013


On Sun, Sep 29, 2013 at 4:25 PM, Benoît Thébaudeau
<benoit.thebaudeau at advansee.com> wrote:
...
> Hence, gpio_get_value() should be left unchanged (using PSR in all cases), and
> SION should be set for all GPIOs in the i.MX6 pin definition header files.

I just does not follow why this preferred against Fabio's proposed
patch to read from DR?

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


More information about the U-Boot mailing list