Skip to content

Commit

Permalink
ALSA: es1968: Clear interrupts before enabling them
Browse files Browse the repository at this point in the history
Avoid spurious interrupts when initializing the device.

Signed-off-by: Ville Syrjälä <syrjala@sci.fi>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Ville Syrjälä authored and Takashi Iwai committed May 8, 2010
1 parent 5a5e02e commit 6895b52
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sound/pci/es1968.c
Original file line number Diff line number Diff line change
Expand Up @@ -2401,6 +2401,7 @@ static void snd_es1968_start_irq(struct es1968 *chip)
w = ESM_HIRQ_DSIE | ESM_HIRQ_HW_VOLUME;
if (chip->rmidi)
w |= ESM_HIRQ_MPU401;
outb(w, chip->io_port + 0x1A);
outw(w, chip->io_port + ESM_PORT_HOST_IRQ);
}

Expand Down

0 comments on commit 6895b52

Please sign in to comment.