projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6895b52
)
ALSA: maestro3: Clear interrupts before enabling them
author
Ville Syrjälä
<syrjala@sci.fi>
Thu, 6 May 2010 21:12:13 +0000
(
00:12
+0300)
committer
Takashi Iwai
<tiwai@suse.de>
Sat, 8 May 2010 09:51:13 +0000
(11:51 +0200)
Avoid spurious interrupts when initializing the device.
Signed-off-by: Ville Syrjälä <syrjala@sci.fi>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/maestro3.c
patch
|
blob
|
history
diff --git
a/sound/pci/maestro3.c
b/sound/pci/maestro3.c
index
217a4dc
..
3c40d72
100644
(file)
--- a/
sound/pci/maestro3.c
+++ b/
sound/pci/maestro3.c
@@
-2443,6
+2443,7
@@
snd_m3_enable_ints(struct snd_m3 *chip)
val = ASSP_INT_ENABLE /*| MPU401_INT_ENABLE*/;
if (chip->hv_config & HV_CTRL_ENABLE)
val |= HV_INT_ENABLE;
+ outb(val, chip->iobase + HOST_INT_STATUS);
outw(val, io + HOST_INT_CTRL);
outb(inb(io + ASSP_CONTROL_C) | ASSP_HOST_INT_ENABLE,
io + ASSP_CONTROL_C);