pinctrl: sunxi: Honor GPIO output initial vaules
authorChen-Yu Tsai <wens@csie.org>
Thu, 16 Jan 2014 06:34:23 +0000 (14:34 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Feb 2014 19:22:18 +0000 (11:22 -0800)
commit89de7377112f8e062924d190362b8820fd90903d
treefbcea2745c9c124f309c4e9fefc0171dd4fcfae0
parent94a99ec83ac3cfb36c33d3583d7f14cbc7c612f4
pinctrl: sunxi: Honor GPIO output initial vaules

commit fa8cf57c923e86a693a85aff1df579245a27cbb3 upstream.

Some GPIO users, such as fixed-regulator, request GPIO output with
initial value of 1. This was ignored by sunxi driver.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pinctrl/pinctrl-sunxi.c