projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11e3bd0
)
[ARM] S3C64XX: Correct the EINT IRQ type configuration
author
Matt Hsu
<matt_hsu@openmoko.org>
Tue, 2 Dec 2008 19:03:28 +0000
(19:03 +0000)
committer
Ben Dooks
<ben-linux@fluff.org>
Tue, 16 Dec 2008 10:19:26 +0000
(10:19 +0000)
Select the correct EINT configuration register when configuring
the external interrupt level/edge type.
Signed-off-by: Matt Hsu <matt_hsu@openmoko.org>
[ben-linux@fluff.org: description improvement]
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/plat-s3c64xx/irq-eint.c
patch
|
blob
|
history
diff --git
a/arch/arm/plat-s3c64xx/irq-eint.c
b/arch/arm/plat-s3c64xx/irq-eint.c
index
8c01f9c
..
1f7cc00
100644
(file)
--- a/
arch/arm/plat-s3c64xx/irq-eint.c
+++ b/
arch/arm/plat-s3c64xx/irq-eint.c
@@
-82,7
+82,7
@@
static int s3c_irq_eint_set_type(unsigned int irq, unsigned int type)
if (offs > 27)
return -EINVAL;
- if (offs
>
15)
+ if (offs
<=
15)
reg = S3C64XX_EINT0CON0;
else
reg = S3C64XX_EINT0CON1;