From 20233b5cde7becba18b611c84f2e1e8aa909ecbe Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela <perex@suse.cz> Date: Mon, 29 Mar 2004 16:19:17 +0200 Subject: [PATCH] ALSA CVS update - Takashi Iwai <tiwai@suse.de> Intel8x0 driver Removed the unprocessed IRQ detection, it seems bogus. --- sound/pci/intel8x0.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/sound/pci/intel8x0.c b/sound/pci/intel8x0.c index 900ab8d4fd17..f45c38a30190 100644 --- a/sound/pci/intel8x0.c +++ b/sound/pci/intel8x0.c @@ -824,19 +824,16 @@ static irqreturn_t snd_intel8x0_interrupt(int irq, void *dev_id, struct pt_regs spin_lock(&chip->reg_lock); status = igetdword(chip, chip->int_sta_reg); if ((status & chip->int_sta_mask) == 0) { - static int err_count = 10; if (status) { /* ack */ iputdword(chip, chip->int_sta_reg, status); + /* some Nforce[2] boards have problems when + IRQ_NONE is returned here. + */ if (chip->device_type != DEVICE_NFORCE) - status ^= igetdword(chip, chip->int_sta_reg); + status = 0; } spin_unlock(&chip->reg_lock); - if (chip->device_type != DEVICE_NFORCE && status && err_count) { - err_count--; - snd_printd("intel8x0: unknown IRQ bits 0x%x (sta_mask=0x%x)\n", - status, chip->int_sta_mask); - } return IRQ_RETVAL(status); } -- 2.30.9