diff options
author | Roland Stigge <stigge@antcom.de> | 2012-09-20 10:48:03 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-09-24 21:56:01 +0200 |
commit | b1268d3737c6316016026245eef276eda6b0a621 (patch) | |
tree | c17259de86df66a8e2a257253937da9df8d44963 /lib | |
parent | 979570e02981d4a8fc20b3cc8fd651856c98ee9d (diff) |
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: Roland Stigge <stigge@antcom.de>
Acked-by: Alexandre Pereira da Silva <aletes.xgr@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions