diff options
author | Matt Hsu <matt_hsu@openmoko.org> | 2008-12-02 14:03:28 -0500 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2008-12-16 05:19:26 -0500 |
commit | a9c5d23ac724a3b908833cafbbbd49abe4741b86 (patch) | |
tree | be60d6a8e7d74c4a30a4f8dfd448d557dfcfcd85 | |
parent | 11e3bd09231bbc0188e0b7a2f3da3920fc74af83 (diff) |
[ARM] S3C64XX: Correct the EINT IRQ type configuration
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>
-rw-r--r-- | arch/arm/plat-s3c64xx/irq-eint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-s3c64xx/irq-eint.c b/arch/arm/plat-s3c64xx/irq-eint.c index 8c01f9cd94b6..1f7cc0067f5c 100644 --- 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) | |||
82 | if (offs > 27) | 82 | if (offs > 27) |
83 | return -EINVAL; | 83 | return -EINVAL; |
84 | 84 | ||
85 | if (offs > 15) | 85 | if (offs <= 15) |
86 | reg = S3C64XX_EINT0CON0; | 86 | reg = S3C64XX_EINT0CON0; |
87 | else | 87 | else |
88 | reg = S3C64XX_EINT0CON1; | 88 | reg = S3C64XX_EINT0CON1; |