1
0
Fork 0

ALSA: es1968: Clear interrupts before enabling them

Avoid spurious interrupts when initializing the device.

Signed-off-by: Ville Syrjälä <syrjala@sci.fi>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
wifi-calibration
Ville Syrjälä 2010-05-07 00:12:12 +03:00 committed by Takashi Iwai
parent 5a5e02e509
commit 6895b5262e
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}