diff options
author | Sean Paul <seanpaul@chromium.org> | 2012-07-20 13:58:59 -0700 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-08-07 08:55:52 +0200 |
commit | f7093f3e7a50bfeeceb8950f9130cbf8af74bf92 (patch) | |
tree | fb3c74f8c80edf4f831cd1bc49d8cfa4cb7b149e /drivers/gpio/gpio-langwell.c | |
parent | 5230f8fe9ad870ac24f23bca496347b87185c7c5 (diff) | |
download | linux-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