From: Florian Fainelli Date: Fri, 24 Oct 2008 17:53:55 +0000 (+0200) Subject: MIPS: RB532: Set gpio interrupt status and level for CompactFlash X-Git-Tag: v2.6.28-rc3~95^2~24 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=fa36b04386422951a7c73f9210403d1a2eaffe92;p=linux-2.6-omap-h63xx.git MIPS: RB532: Set gpio interrupt status and level for CompactFlash This patch sets the correct interrupt status and level in order to get the CompactFlash adapter working. Signed-off-by: Florian Fainelli Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/rb532/gpio.c b/arch/mips/rb532/gpio.c index 76a7fd96d56..70c4a672637 100644 --- a/arch/mips/rb532/gpio.c +++ b/arch/mips/rb532/gpio.c @@ -310,6 +310,10 @@ int __init rb532_gpio_init(void) return -ENXIO; } + /* Set the interrupt status and level for the CF pin */ + rb532_gpio_set_int_level(&rb532_gpio_chip->chip, CF_GPIO_NUM, 1); + rb532_gpio_set_int_status(&rb532_gpio_chip->chip, CF_GPIO_NUM, 0); + return 0; } arch_initcall(rb532_gpio_init);