Skip to content
Commit b1268d37 authored by Roland Stigge's avatar Roland Stigge Committed by Linus Walleij
Browse files

gpio-lpc32xx: Fix value handling of gpio_direction_output()



For GPIOs of gpio-lpc32xx, gpio_direction_output() ignores the value argument
(initial value of output). This patch fixes this by setting the level
accordingly.

Cc: stable@kernel.org
Signed-off-by: default avatarRoland Stigge <stigge@antcom.de>
Acked-by: default avatarAlexandre Pereira da Silva <aletes.xgr@gmail.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 979570e0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment