[ALSA] maestro3: Fix interrupt ack and disable

Maestro3 driver
Due to a typo interrupts were never actually acked or disabled.

Signed-off-by: Ville Syrjala <syrjala@sci.fi>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Ville Syrjala
2005-05-12 14:14:28 +02:00
committed by Jaroslav Kysela
parent cb5a6ffc5c
commit 88491386be

View File

@@ -1605,7 +1605,7 @@ snd_m3_interrupt(int irq, void *dev_id, struct pt_regs *regs)
#endif #endif
/* ack ints */ /* ack ints */
snd_m3_outw(chip, HOST_INT_STATUS, status); outb(status, chip->iobase + HOST_INT_STATUS);
return IRQ_HANDLED; return IRQ_HANDLED;
} }
@@ -2367,7 +2367,7 @@ static int snd_m3_free(m3_t *chip)
kfree(chip->substreams); kfree(chip->substreams);
} }
if (chip->iobase) { if (chip->iobase) {
snd_m3_outw(chip, HOST_INT_CTRL, 0); /* disable ints */ outw(0, chip->iobase + HOST_INT_CTRL); /* disable ints */
} }
#ifdef CONFIG_PM #ifdef CONFIG_PM