arm: exynos5: fix the number of GPIO groups on bank A
authorVincent Palatin <vpalatin@chromium.org>
Thu, 9 May 2013 21:37:31 +0000 (14:37 -0700)
committerChromeBot <chrome-bot@google.com>
Fri, 10 May 2013 16:23:10 +0000 (09:23 -0700)
The GPIO bank A has 21 groups :
A0->A3, B0->B3, C0->C4, DO->D1, Y0->Y6

Let's update the constant to match the groups declare in the samsung
GPIO driver, else the GPIO irq driver won't find its babies.

Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
BUG=none
TEST=on Spring, try to get GPF0[0] as an interrupt.

Change-Id: I44396611d9da618dfe2a739892be4f0924a6f8cf
Reviewed-on: https://gerrit.chromium.org/gerrit/50710
Reviewed-by: Jeremy Thorpe <jeremyt@chromium.org>
Reviewed-by: Doug Anderson <dianders@chromium.org>
Commit-Queue: Vincent Palatin <vpalatin@chromium.org>
Tested-by: Vincent Palatin <vpalatin@chromium.org>
arch/arm/mach-exynos/include/mach/irqs.h

index 94bf95e..3a8b03f 100644 (file)
 
 #define EXYNOS5_MAX_COMBINER_NR                32
 
-#define EXYNOS5_IRQ_GPIO1_NR_GROUPS    14
+#define EXYNOS5_IRQ_GPIO1_NR_GROUPS    21
 #define EXYNOS5_IRQ_GPIO2_NR_GROUPS    9
 #define EXYNOS5_IRQ_GPIO3_NR_GROUPS    5
 #define EXYNOS5_IRQ_GPIO4_NR_GROUPS    1