pch_gpio: set value before enabling output direction
authorDaniel Krueger <daniel.krueger@systec-electronic.com>
Tue, 25 Mar 2014 09:32:47 +0000 (10:32 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 27 Mar 2014 09:20:29 +0000 (10:20 +0100)
commit2ddf6cd67cc561e40454d60126a8a7cb32f3328f
tree1a295940e4075d56fd9a80328ac987678ce3cae7
parentfc860356aca3dd7cd3eed74ede29a84c55992d27
pch_gpio: set value before enabling output direction

This ensures that the output signal does not toggle if set to high.

Signed-off-by: Daniel Krueger <daniel.krueger@systec-electronic.com>
Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-pch.c