linux-mips
[Top] [All Lists]

[Patch] Au1550 PSC SPI irq mask fix

To: linux-mips@linux-mips.org
Subject: [Patch] Au1550 PSC SPI irq mask fix
From: Jon Anders Haugum <jonah@omegav.ntnu.no>
Date: Mon, 20 Dec 2004 12:28:51 +0100 (CET)
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
The ALLMASK define for SPI interrupts is missing two bits.

diff -u -r1.1.2.6 au1xxx_psc.h
--- linux/include/asm-mips/au1xxx_psc.h 18 Sep 2004 22:07:37 -0000 1.1.2.6
+++ linux/include/asm-mips/au1xxx_psc.h 20 Dec 2004 11:18:23 -0000
@@ -359,7 +359,8 @@
 #define PSC_SPIMSK_SD          (1 << 5)
 #define PSC_SPIMSK_MD          (1 << 4)
 #define PSC_SPIMSK_ALLMASK     (PSC_SPIMSK_MM | PSC_SPIMSK_RR | \
-                                PSC_SPIMSK_RO | PSC_SPIMSK_TO | \
+                                PSC_SPIMSK_RO | PSC_SPIMSK_RU | \
+                                PSC_SPIMSK_TR | PSC_SPIMSK_TO | \
                                 PSC_SPIMSK_TU | PSC_SPIMSK_SD | \
                                 PSC_SPIMSK_MD)


<Prev in Thread] Current Thread [Next in Thread>