lkml.org 
[lkml]   [2004]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: irq 7: nobody cared! (intel8x0 sound / 2.6.2-rc3-mm1)


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

\
 
 \ /
  Last update: 2009-11-18 23:46    [from the cache]
©2003-2011 Jasper Spaans