From: Jani Nikula Date: Wed, 11 Mar 2009 13:07:19 +0000 (+0000) Subject: ARM: OMAP: Fix GPIO switch initial output state handling X-Git-Tag: v2.6.29-omap1~31 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc2b459c066361098704c586f3134c3c3ac13be3;p=pandora-kernel.git ARM: OMAP: Fix GPIO switch initial output state handling The switchover to cross-platform GPIO interface unexpectedly caused all output GPIO switches to be set to high state by default, unlike the original OMAP code. Introduce a new GPIO switch flag to define the initial state of the switch. Unless the flag is set, the default is now inactive state of the switch. Also store the state of output switches directly into the switch struct instead of trying to read an output GPIO. Signed-off-by: Jani Nikula Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed