From: Roland Stigge Date: Thu, 20 Sep 2012 08:48:03 +0000 (+0200) Subject: gpio-lpc32xx: Fix value handling of gpio_direction_output() X-Git-Tag: v3.6~16^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1268d3737c6316016026245eef276eda6b0a621;p=pandora-kernel.git 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 Acked-by: Alexandre Pereira da Silva Signed-off-by: Linus Walleij --- Reading git-diff-tree failed