git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ALSA: do not create OPL3 timers if there is no OPL3 irq wired
[pandora-kernel.git]
/
sound
/
isa
/
cmi8330.c
diff --git
a/sound/isa/cmi8330.c
b/sound/isa/cmi8330.c
index
dec6ea5
..
1154379
100644
(file)
--- a/
sound/isa/cmi8330.c
+++ b/
sound/isa/cmi8330.c
@@
-546,10
+546,6
@@
static int __devinit snd_cmi8330_probe(struct snd_card *card, int dev)
"no OPL device at 0x%lx-0x%lx ?\n",
fmport[dev], fmport[dev] + 2);
} else {
- err = snd_opl3_timer_new(opl3, 0, 1);
- if (err < 0)
- return err;
-
err = snd_opl3_hwdep_new(opl3, 0, 1, NULL);
if (err < 0)
return err;