diff options
author | Ville Syrjälä <syrjala@sci.fi> | 2010-05-06 17:12:12 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-05-08 05:51:06 -0400 |
commit | 6895b5262ea80c99e526d40d39e0ca48014bdb95 (patch) | |
tree | 9496efdbbb4f542ea600962a3324bb3ae4daea05 /sound/pci/es1968.c | |
parent | 5a5e02e5095ed89a0a1f4031e7440078c209442b (diff) |
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>
Diffstat (limited to 'sound/pci/es1968.c')
-rw-r--r-- | sound/pci/es1968.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/es1968.c b/sound/pci/es1968.c index aa973cee8155..23a58f0d6cb9 100644 --- a/sound/pci/es1968.c +++ b/sound/pci/es1968.c | |||
@@ -2401,6 +2401,7 @@ static void snd_es1968_start_irq(struct es1968 *chip) | |||
2401 | w = ESM_HIRQ_DSIE | ESM_HIRQ_HW_VOLUME; | 2401 | w = ESM_HIRQ_DSIE | ESM_HIRQ_HW_VOLUME; |
2402 | if (chip->rmidi) | 2402 | if (chip->rmidi) |
2403 | w |= ESM_HIRQ_MPU401; | 2403 | w |= ESM_HIRQ_MPU401; |
2404 | outb(w, chip->io_port + 0x1A); | ||
2404 | outw(w, chip->io_port + ESM_PORT_HOST_IRQ); | 2405 | outw(w, chip->io_port + ESM_PORT_HOST_IRQ); |
2405 | } | 2406 | } |
2406 | 2407 | ||