Commit 6895b526 authored by Ville Syrjälä's avatar Ville Syrjälä Committed by Takashi Iwai

ALSA: es1968: Clear interrupts before enabling them

Avoid spurious interrupts when initializing the device.
Signed-off-by: default avatarVille Syrjälä <syrjala@sci.fi>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 5a5e02e5
...@@ -2401,6 +2401,7 @@ static void snd_es1968_start_irq(struct es1968 *chip) ...@@ -2401,6 +2401,7 @@ static void snd_es1968_start_irq(struct es1968 *chip)
w = ESM_HIRQ_DSIE | ESM_HIRQ_HW_VOLUME; w = ESM_HIRQ_DSIE | ESM_HIRQ_HW_VOLUME;
if (chip->rmidi) if (chip->rmidi)
w |= ESM_HIRQ_MPU401; w |= ESM_HIRQ_MPU401;
outb(w, chip->io_port + 0x1A);
outw(w, chip->io_port + ESM_PORT_HOST_IRQ); outw(w, chip->io_port + ESM_PORT_HOST_IRQ);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment