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

2012-11-17 Thread Linus Walleij
On Fri, Nov 16, 2012 at 12: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 > Acked-by: Stephen Warren > --- > Changes from V1

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

2012-11-15 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 Acked-by: Stephen Warren --- Changes from V1: - Keep the if part implementation same the else part to have implementat