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

Linus Torvalds
2004-02-10T20:23:25Z

On Tue, 10 Feb 2004, Ralf Gerbig wrote:
>
> * On Tue, 10 Feb 2004 20:05:35 +0100, Takashi Iwai <tiwai@suse.de> 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