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

2012-11-08 Thread Laxman Dewangan
On Thursday 08 November 2012 10:28 PM, Stephen Warren wrote: On 11/07/2012 11:27 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. That's an unfortunate HW design, but oh

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

2012-11-08 Thread Stephen Warren
On 11/07/2012 11:27 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. That's an unfortunate HW design, but oh well. Do you have any idea why reading the input register

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

2012-11-07 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 --- drivers/gpio/gpio-tegra.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/drivers/gp