[ARM] ixp4xx: fix IRQ GPIO direction configuration for GPIOs >= 8

I believe that the following patch is necessary to properly configure
GPIO line configuration for IRQ's which are mapped to a GPIO line >= 8
(without this patch the wrong GPIO is configured as an input.)

Signed-off-by: Tim Harvey <tim_harvey@yahoo.com>
Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

authored by Tim Harvey and committed by Russell King 5c9b9123 9a79b227

+1 -1
+1 -1
arch/arm/mach-ixp4xx/common.c
··· 188 *int_reg |= (int_style << (line * IXP4XX_GPIO_STYLE_SIZE)); 189 190 /* Configure the line as an input */ 191 - gpio_line_config(line, IXP4XX_GPIO_IN); 192 193 return 0; 194 }
··· 188 *int_reg |= (int_style << (line * IXP4XX_GPIO_STYLE_SIZE)); 189 190 /* Configure the line as an input */ 191 + gpio_line_config(irq2gpio[irq], IXP4XX_GPIO_IN); 192 193 return 0; 194 }