gpio: moxart: Actually set output state in moxart_gpio_direction_output()
authorAxel Lin <axel.lin@ingics.com>
Tue, 25 Mar 2014 02:44:19 +0000 (10:44 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 27 Mar 2014 09:19:08 +0000 (10:19 +0100)
commitfc860356aca3dd7cd3eed74ede29a84c55992d27
tree4d5d6fee87a469f65db2bae6dbf3cfa92fea8a94
parentc9e8dbadb0528d872c5734858dbf76aa4cb31df9
gpio: moxart: Actually set output state in moxart_gpio_direction_output()

moxart_gpio_direction_output() ignored the state passed into it. Fix it.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-moxart.c