Re: irq 7: nobody cared! (intel8x0 sound / 2.6.2-rc3-mm1)

From: Linus Torvalds
Date: Tue Feb 10 2004 - 15:24:38 EST




On Tue, 10 Feb 2004, Ralf Gerbig wrote:
>
> * On Tue, 10 Feb 2004 20:05:35 +0100, Takashi Iwai <tiwai@xxxxxxx> said:
>
> > --- linux/sound/pci/intel8x0.c 6 Feb 2004 17:47:49 -0000 1.115
> > +++ linux/sound/pci/intel8x0.c 10 Feb 2004 19:03:43 -0000
> > @@ -807,7 +807,7 @@
> > if (status)
> > iputdword(chip, chip->int_sta_reg, status);
> > spin_unlock(&chip->reg_lock);
> > - return IRQ_NONE;
> > + return IRQ_HANDLED(status);
>
> did not compile, tried
>
> return IRQ_RETVAL(status);
>
> instead. Works, but I get 150,000 interrupts/s even without playing any
> sound.

Can you add something like

static int count = 10;
if (count) {
count--;
printk("sound status = %08x (mask %08x)\n",
status, chip->int_sta_mask);
}

to just before the return?

That should tell what the register contents are, and might be a clue
about what event it thinks is active.

Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/