projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a5e02e
)
ALSA: es1968: Clear interrupts before enabling them
author
Ville Syrjälä
<syrjala@sci.fi>
Thu, 6 May 2010 21:12:12 +0000
(
00:12
+0300)
committer
Takashi Iwai
<tiwai@suse.de>
Sat, 8 May 2010 09:51:06 +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/es1968.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/es1968.c
b/sound/pci/es1968.c
index aa973cee8155d0ccdba5404dda8e93ad50d3fe39..23a58f0d6cb9bd6099be2c47dc532a51de0bade1 100644
(file)
--- a/
sound/pci/es1968.c
+++ b/
sound/pci/es1968.c
@@
-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);
}