Commit 93f9f0fa authored by Ben Dooks's avatar Ben Dooks Committed by Russell King

[ARM PATCH] 2193/1: S3C2410 - fix wake mask for IRQEINT[0..3], and IRQ_RTC

Patch from Ben Dooks

Fix incorrect bit masking of the wake maskes for 
IRQs EINT0 through EINT3 and IRQ_RTC

Signed-off-by: Ben Dooks 
Signed-off-by: Russell King
parent a3ef33ed
......@@ -36,6 +36,9 @@
*
* 05-Oct-2004 Ben Dooks <ben@simtec.co.uk>
* Add support for power management controls
*
* 04-Nov-2004 Ben Dooks
* Fix standard IRQ wake for EINT0..4 and RTC
*/
#include <linux/init.h>
......@@ -91,7 +94,7 @@ s3c_irq_wake(unsigned int irqno, unsigned int state)
if (!state)
s3c_irqwake_intmask |= irqbit;
else
s3c_irqwake_intmask &= irqbit;
s3c_irqwake_intmask &= ~irqbit;
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment