summaryrefslogtreecommitdiffstats
path: root/sound/synth
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2005-08-24 17:57:25 +0200
committerJaroslav Kysela <perex@suse.cz>2005-08-30 08:47:31 +0200
commita278655ff5d0c9d5eb34cf99f3a4c20da09eb09e (patch)
tree52162aff3ff31b35e7abeb72760e93a75076a5cd /sound/synth
parentf442e8b0eae4fbb6bbf9b8b005002b51a59e23bf (diff)
downloadlinux-a278655ff5d0c9d5eb34cf99f3a4c20da09eb09e.tar.gz
linux-a278655ff5d0c9d5eb34cf99f3a4c20da09eb09e.tar.bz2
linux-a278655ff5d0c9d5eb34cf99f3a4c20da09eb09e.zip
[ALSA] Fix missing spin_unlock
au88x0 driver,Common EMU synth Fixed missing spin_unlock. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/synth')
-rw-r--r--sound/synth/emux/emux_synth.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/synth/emux/emux_synth.c b/sound/synth/emux/emux_synth.c
index f13b038329eb..751bf1272af3 100644
--- a/sound/synth/emux/emux_synth.c
+++ b/sound/synth/emux/emux_synth.c
@@ -98,7 +98,6 @@ snd_emux_note_on(void *p, int note, int vel, snd_midi_channel_t *chan)
vp = emu->ops.get_voice(emu, port);
if (vp == NULL || vp->ch < 0)
continue;
- snd_assert(vp->emu != NULL && vp->hw != NULL, return);
if (STATE_IS_PLAYING(vp->state))
emu->ops.terminate(vp);