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.2.31~66 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=247a9ca13ccd0e1cfd81b481e91d365950eaeaaf;p=pandora-kernel.git gpio-lpc32xx: Fix value handling of gpio_direction_output() commit b1268d3737c6316016026245eef276eda6b0a621 upstream. 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. Signed-off-by: Roland Stigge Acked-by: Alexandre Pereira da Silva Signed-off-by: Linus Walleij Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed