Re: [PATCH V2] gpio: tegra: read output value when gpio is set in direction_out

2012-11-17 Thread Linus Walleij
On Fri, Nov 9, 2012 at 7:04 AM, Laxman Dewangan wrote: > Read the output value when gpio is set for the output mode for > gpio_get_value(). Reading input value in direction out does not > give correct value. > > Signed-off-by: Laxman Dewangan Applied v2 with Stephen's ACK. Yours, Linus Walleij

Re: [PATCH V2] gpio: tegra: read output value when gpio is set in direction_out

2012-11-09 Thread Stephen Warren
On 11/08/2012 11:04 PM, Laxman Dewangan wrote: > Read the output value when gpio is set for the output mode for > gpio_get_value(). Reading input value in direction out does not > give correct value. Acked-by: Stephen Warren -- To unsubscribe from this list: send the line "unsubscribe linux-kern

[PATCH V2] gpio: tegra: read output value when gpio is set in direction_out

2012-11-08 Thread Laxman Dewangan
Read the output value when gpio is set for the output mode for gpio_get_value(). Reading input value in direction out does not give correct value. Signed-off-by: Laxman Dewangan --- Changes from V1: - Keep the if part implementation same the else part to have implementation same kind. drivers