]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ARM] 4569/1: ep93xx_gpio_irq_type(): fix spurious enumeration offset for FGPIO handling
authorHerbert Valerio Riedel <hvr@gnu.org>
Sun, 16 Sep 2007 15:44:39 +0000 (16:44 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 20 Sep 2007 08:21:10 +0000 (09:21 +0100)
commit8742bc92c36324ac4bac739ab413acc6630a875d
tree90d394d5b105e050ff13a169de173114a63831ef
parent4f6627ac3ba6948a4aebec80edfd6565aec3a40c
[ARM] 4569/1: ep93xx_gpio_irq_type(): fix spurious enumeration offset for FGPIO handling

The EP93XX_GPIO_LINE_F() macro is supposed to be called with a line
number between 0 and 7, but the current code causes it to get called
with an spuriously offset number range {16..23}.

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
Signed-off-by: Lennert Buytenhek <kernel@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-ep93xx/core.c