ARM: S5P: fix offset calculation on gpio-interrupt
authorMarek Szyprowski <m.szyprowski@samsung.com>
Fri, 21 Oct 2011 09:04:54 +0000 (18:04 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Fri, 21 Oct 2011 09:05:02 +0000 (18:05 +0900)
commit1052cff317e7636456595f2246b9f644c53eccbd
tree958c9408c22c79ca18b4e29566abada8e18196a8
parent899e3ee404961a90b828ad527573aaaac39f0ab1
ARM: S5P: fix offset calculation on gpio-interrupt

Offsets of the irq controller registers were calculated
correctly only for first GPIO bank. This patch fixes
calculation of the register offsets for all GPIO banks.

Reported-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/plat-s5p/irq-gpioint.c