ARM: 6060/1: PL061 GPIO: Setting gpio val after changing direction to OUT.
authorviresh kumar <viresh.kumar@st.com>
Wed, 21 Apr 2010 08:42:05 +0000 (09:42 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 22 Apr 2010 11:30:14 +0000 (12:30 +0100)
commit64b997c5142a13373857de09599afd2f079c2f7a
treed6abc0a71b1e2fa283d73050a0ea45e229c930eb
parent9a99d55514d3c6bfc03e41536659d781af6998f5
ARM: 6060/1: PL061 GPIO: Setting gpio val after changing direction to OUT.

pl061_direction_output doesn't set value of gpio to value passed to it.
This patch sets value of GPIO pin to requested value after changing direction
to OUT.

Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Acked-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/gpio/pl061.c