diff options
author | Ville Syrjälä <syrjala@sci.fi> | 2010-05-06 17:12:13 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-05-08 05:51:13 -0400 |
commit | 1bde78bc25a8e244006f63adb851bfb34407d48c (patch) | |
tree | 9e9116347960bb2a83974a1670f9aa9c70de17d0 /sound/pci/maestro3.c | |
parent | 6895b5262ea80c99e526d40d39e0ca48014bdb95 (diff) |
ALSA: maestro3: 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/maestro3.c')
-rw-r--r-- | sound/pci/maestro3.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/maestro3.c b/sound/pci/maestro3.c index 217a4dcb259e..3c40d726b46e 100644 --- a/sound/pci/maestro3.c +++ b/sound/pci/maestro3.c | |||
@@ -2443,6 +2443,7 @@ snd_m3_enable_ints(struct snd_m3 *chip) | |||
2443 | val = ASSP_INT_ENABLE /*| MPU401_INT_ENABLE*/; | 2443 | val = ASSP_INT_ENABLE /*| MPU401_INT_ENABLE*/; |
2444 | if (chip->hv_config & HV_CTRL_ENABLE) | 2444 | if (chip->hv_config & HV_CTRL_ENABLE) |
2445 | val |= HV_INT_ENABLE; | 2445 | val |= HV_INT_ENABLE; |
2446 | outb(val, chip->iobase + HOST_INT_STATUS); | ||
2446 | outw(val, io + HOST_INT_CTRL); | 2447 | outw(val, io + HOST_INT_CTRL); |
2447 | outb(inb(io + ASSP_CONTROL_C) | ASSP_HOST_INT_ENABLE, | 2448 | outb(inb(io + ASSP_CONTROL_C) | ASSP_HOST_INT_ENABLE, |
2448 | io + ASSP_CONTROL_C); | 2449 | io + ASSP_CONTROL_C); |