commit | b1268d3737c6316016026245eef276eda6b0a621 | [log] [tgz] |
---|---|---|
author | Roland Stigge <stigge@antcom.de> | Thu Sep 20 10:48:03 2012 +0200 |
committer | Linus Walleij <linus.walleij@linaro.org> | Mon Sep 24 21:56:01 2012 +0200 |
tree | c17259de86df66a8e2a257253937da9df8d44963 | |
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>