projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
052ac71
)
MIPS: RB532: Set gpio interrupt status and level for CompactFlash
author
Florian Fainelli
<florian@openwrt.org>
Fri, 24 Oct 2008 17:53:55 +0000
(19:53 +0200)
committer
Ralf Baechle
<ralf@linux-mips.org>
Mon, 27 Oct 2008 16:18:26 +0000
(16:18 +0000)
This patch sets the correct interrupt status and level
in order to get the CompactFlash adapter working.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/rb532/gpio.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/rb532/gpio.c
b/arch/mips/rb532/gpio.c
index 76a7fd96d5647212005c4ecf7bf80a2020774d54..70c4a6726377ded624a426ca683df1511dd62bc2 100644
(file)
--- 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);