Skip to content

Commit

Permalink
[ALSA] maestro3: Fix interrupt ack and disable
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ville Syrjala authored and Jaroslav Kysela committed May 29, 2005
1 parent cb5a6ff commit 8849138
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sound/pci/maestro3.c
Original file line number Diff line number Diff line change
Expand Up @@ -1605,7 +1605,7 @@ snd_m3_interrupt(int irq, void *dev_id, struct pt_regs *regs)
#endif

/* ack ints */
snd_m3_outw(chip, HOST_INT_STATUS, status);
outb(status, chip->iobase + HOST_INT_STATUS);

return IRQ_HANDLED;
}
Expand Down Expand Up @@ -2367,7 +2367,7 @@ static int snd_m3_free(m3_t *chip)
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
Expand Down

0 comments on commit 8849138

Please sign in to comment.