diff options
author | Krzysztof Helt <krzysztof.h1@wp.pl> | 2009-01-21 15:08:03 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-01-21 15:11:02 +0100 |
commit | aa9c293ae46d71f5add0761bce8db67b162e3f29 (patch) | |
tree | 2959f67371e81c448be89fd11bdeb3310b99158f /sound/isa/cmi8330.c | |
parent | 48972cc5101dee24243c1b53d409cc27880e7a29 (diff) | |
download | linux-aa9c293ae46d71f5add0761bce8db67b162e3f29.tar.gz linux-aa9c293ae46d71f5add0761bce8db67b162e3f29.tar.bz2 linux-aa9c293ae46d71f5add0761bce8db67b162e3f29.zip |
ALSA: do not create OPL3 timers if there is no OPL3 irq wired
Most cards have OPL3 FM synthetiser but
they do not have OPL3 interrupt wired to
a sound chip or CPU.
Do not create OPL3 timers for such cards
as the timers are useless witthout interrupt.
This patch removes OPL3 timers for following
alsa drivers: snd-ad1816a, snd-opti93x,
snd-opti92x, snd-sc6000, snd-cmi8330.
Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/isa/cmi8330.c')
-rw-r--r-- | sound/isa/cmi8330.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sound/isa/cmi8330.c b/sound/isa/cmi8330.c index dec6ea52cc4f..115437957413 100644 --- 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; |