From: Sean Paul Date: Fri, 20 Jul 2012 20:58:59 +0000 (-0700) Subject: gpio: samsung: Fix off-by-one bug in gpio addresses X-Git-Tag: v3.6-rc2~17^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7093f3e7a50bfeeceb8950f9130cbf8af74bf92;p=pandora-kernel.git gpio: samsung: Fix off-by-one bug in gpio addresses Move gpc4 to the end of the automatically processed gpio controllers so we don't taint the automatic offset calculation. This bug caused all controllers coming after gpc4 to map to the incorrect address. The result is <&gpd1 0 0 0 0> would actually map to GPIO 0 in gpd0. Signed-off-by: Sean Paul Reviewed-by: Thomas Abraham Acked-by: Doug Anderson Acked-by: Kukjin Kim Signed-off-by: Linus Walleij --- Reading git-diff-tree failed