X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=blobdiff_plain;f=sound%2Fsynth%2Femux%2Femux_seq.c;h=188fda0effb0b654fab7a05a60d534fcc7b81141;hp=ca5f7effb4df48815c2367bd8473f1e1024fefdc;hb=b14b5688328d7c3af29afe4aa3b65c4be36706b2;hpb=f22d806b6cc0c74dd0a1a21b3f311dba51d9df84 diff --git a/sound/synth/emux/emux_seq.c b/sound/synth/emux/emux_seq.c index ca5f7effb4df..188fda0effb0 100644 --- a/sound/synth/emux/emux_seq.c +++ b/sound/synth/emux/emux_seq.c @@ -21,7 +21,7 @@ #include "emux_voice.h" #include - +#include /* Prototypes for static functions */ static void free_port(void *private); @@ -124,12 +124,10 @@ snd_emux_detach_seq(struct snd_emux *emu) if (emu->voices) snd_emux_terminate_all(emu); - mutex_lock(&emu->register_mutex); if (emu->client >= 0) { snd_seq_delete_kernel_client(emu->client); emu->client = -1; } - mutex_unlock(&emu->register_mutex); }