Fix the eint type configuration for s3c64xx. Matt
From: Matt Hsu <[EMAIL PROTECTED]> Date: Fri, 28 Nov 2008 21:16:01 +0800
set the eint configuration correctly Signed-off-by: Matt Hsu <[EMAIL PROTECTED]> --- 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 24c5e89..87a43a0 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) if (offs > 27) return -EINVAL; - if (offs > 15) + if (offs < 15) reg = S3C64XX_EINT0CON0; else reg = S3C64XX_EINT0CON1; -- 1.5.5.1
