Re: [PATCH] gpio: take in account the active low flag when configuring the gpio as an ouput

2014-02-12 Thread Linus Walleij
On Tue, Feb 11, 2014 at 5:22 AM, Alexandre Courbot wrote: > On Tue, Feb 11, 2014 at 12:03 AM, Jean-Jacques Hiblot > wrote: >> The initial value of the gpio is passed to gpiod_direction_output. Currently >> this value is the raw value of the GPIO line, but it should be the logical >> value. > > I

Re: [PATCH] gpio: take in account the active low flag when configuring the gpio as an ouput

2014-02-11 Thread Jean-Jacques Hiblot
Hi Alexandre, I somehow missed this one. Forget about my patch then. Jean-Jacques 2014-02-11 5:22 GMT+01:00 Alexandre Courbot : > On Tue, Feb 11, 2014 at 12:03 AM, Jean-Jacques Hiblot > wrote: >> The initial value of the gpio is passed to gpiod_direction_output. Currently >> this value is the r

Re: [PATCH] gpio: take in account the active low flag when configuring the gpio as an ouput

2014-02-10 Thread Alexandre Courbot
On Tue, Feb 11, 2014 at 12:03 AM, Jean-Jacques Hiblot wrote: > The initial value of the gpio is passed to gpiod_direction_output. Currently > this value is the raw value of the GPIO line, but it should be the logical > value. I think we have a patch that already does this: http://www.kernelhub.o

Re: [PATCH] gpio: take in account the active low flag when configuring the gpio as an ouput

2014-02-10 Thread Richard Genoud
2014-02-10 16:03 GMT+01:00 Jean-Jacques Hiblot : > The initial value of the gpio is passed to gpiod_direction_output. Currently > this value is the raw value of the GPIO line, but it should be the logical > value. > > Signed-off-by: Jean-Jacques Hiblot > --- > drivers/gpio/gpiolib.c | 3 +++ > 1

[PATCH] gpio: take in account the active low flag when configuring the gpio as an ouput

2014-02-10 Thread Jean-Jacques Hiblot
The initial value of the gpio is passed to gpiod_direction_output. Currently this value is the raw value of the GPIO line, but it should be the logical value. Signed-off-by: Jean-Jacques Hiblot --- drivers/gpio/gpiolib.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpio/gpiolib