aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/maestro3.c
diff options
context:
space:
mode:
authorVille Syrjala <syrjala@sci.fi>2005-05-12 08:14:28 -0400
committerJaroslav Kysela <perex@suse.cz>2005-05-29 04:08:20 -0400
commit88491386be67f659e6b2c76c7463c997ce4c4ebb (patch)
tree87f8c45818c8e263049446658a0ac674d8d5d7df /sound/pci/maestro3.c
parentcb5a6ffc5c09bc354af69407dae710dcddcced37 (diff)
[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>
Diffstat (limited to 'sound/pci/maestro3.c')
-rw-r--r--sound/pci/maestro3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/maestro3.c b/sound/pci/maestro3.c
index 9f184ea8a9d3..293cc10e3cbb 100644
--- a/sound/pci/maestro3.c
+++ b/sound/pci/maestro3.c
@@ -1605,7 +1605,7 @@ snd_m3_interrupt(int irq, void *dev_id, struct pt_regs *regs)
1605#endif 1605#endif
1606 1606
1607 /* ack ints */ 1607 /* ack ints */
1608 snd_m3_outw(chip, HOST_INT_STATUS, status); 1608 outb(status, chip->iobase + HOST_INT_STATUS);
1609 1609
1610 return IRQ_HANDLED; 1610 return IRQ_HANDLED;
1611} 1611}
@@ -2367,7 +2367,7 @@ static int snd_m3_free(m3_t *chip)
2367 kfree(chip->substreams); 2367 kfree(chip->substreams);
2368 } 2368 }
2369 if (chip->iobase) { 2369 if (chip->iobase) {
2370 snd_m3_outw(chip, HOST_INT_CTRL, 0); /* disable ints */ 2370 outw(0, chip->iobase + HOST_INT_CTRL); /* disable ints */
2371 } 2371 }
2372 2372
2373#ifdef CONFIG_PM 2373#ifdef CONFIG_PM