Progress report
Matan Ziv-Av
matan@svgalib.org
Fri Jul 9 14:41:04 CEST 2004
On Sun, 4 Jul 2004, Francois-Rene Rideau wrote:
> I suspect might that the spurious interrupt 35 are actually a ps2_txint,
> since the interrupt count stays at one there... the sa1101 is just unhappy
> that we don't do something about acknowledging something or else.
This patch seems to solve the "spurious interrupt 35" problem.
I suspect that there is no problem with the ps2_txint, since the driver
does not use the interrupt for occasional writes.
--- kernel26/arch/arm/common/sa1101.c 2004-07-07 20:26:18.000000000 +0300
+++ my2/arch/arm/common/sa1101.c 2004-07-09 15:07:45.000000000 +0300
@@ -32,7 +32,7 @@
#include <asm/arch/SA-1101.h>
#include <asm/hardware/sa1101.h>
#include <asm/mach/irq.h>
-#include <asm/arch/irq.h>
+#include <asm/arch/irqs.h>
#include <asm/uaccess.h>
#include <asm/io.h>
@@ -99,9 +99,10 @@
stat0 = INTSTATCLR0;
stat1 = INTSTATCLR1;
INTSTATCLR0 = stat0;
- desc->chip->ack(irq);
INTSTATCLR1 = stat1;
+ desc->chip->ack(irq);
+
if (stat0 == 0 && stat1 == 0) {
do_bad_IRQ(irq, desc, regs);
return;
--
Matan Ziv-Av. matan@svgalib.org
More information about the Jornada820
mailing list