From: Mark Brown Date: Tue, 24 Feb 2009 14:55:48 +0000 (+0100) Subject: [ARM] 5411/1: S3C64XX: Fix EINT unmask X-Git-Tag: v2.6.29-rc7~6^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c8532db7f2661b63f658b9a08cf4053a3e6abb78;p=platform%2Fupstream%2Fkernel-adaptation-pc.git [ARM] 5411/1: S3C64XX: Fix EINT unmask Currently the unmask function for EINT interrupts was setting the mask bit rather than clearing it. This was also previously reported and fixed by Kyungmin Park and others. Acked-By: Ben Dooks Signed-off-by: Mark Brown Signed-off-by: Russell King --- diff --git a/arch/arm/plat-s3c64xx/irq-eint.c b/arch/arm/plat-s3c64xx/irq-eint.c index 1f7cc00..ebb305c 100644 --- a/arch/arm/plat-s3c64xx/irq-eint.c +++ b/arch/arm/plat-s3c64xx/irq-eint.c @@ -55,7 +55,7 @@ static void s3c_irq_eint_unmask(unsigned int irq) u32 mask; mask = __raw_readl(S3C64XX_EINT0MASK); - mask |= eint_irq_to_bit(irq); + mask &= ~eint_irq_to_bit(irq); __raw_writel(mask, S3C64XX_EINT0MASK); }