summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-langwell.c
diff options
context:
space:
mode:
authorSean Paul <seanpaul@chromium.org>2012-07-20 13:58:59 -0700
committerLinus Walleij <linus.walleij@linaro.org>2012-08-07 08:55:52 +0200
commitf7093f3e7a50bfeeceb8950f9130cbf8af74bf92 (patch)
treefb3c74f8c80edf4f831cd1bc49d8cfa4cb7b149e /drivers/gpio/gpio-langwell.c
parent5230f8fe9ad870ac24f23bca496347b87185c7c5 (diff)
downloadlinux-f7093f3e7a50bfeeceb8950f9130cbf8af74bf92.tar.bz2
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 <seanpaul@chromium.org> Reviewed-by: Thomas Abraham <thomas.abraham@linaro.org> Acked-by: Doug Anderson <dianders@chromium.org> Acked-by: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-langwell.c')
0 files changed, 0 insertions, 0 deletions