[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>
diff --git a/sound/pci/maestro3.c b/sound/pci/maestro3.c
index 9f184ea8..293cc10 100644
--- a/sound/pci/maestro3.c
+++ b/sound/pci/maestro3.c
@@ -1605,7 +1605,7 @@
#endif
/* ack ints */
- snd_m3_outw(chip, HOST_INT_STATUS, status);
+ outb(status, chip->iobase + HOST_INT_STATUS);
return IRQ_HANDLED;
}
@@ -2367,7 +2367,7 @@
kfree(chip->substreams);
}
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