]> git.ipfire.org Git - people/ms/linux.git/blobdiff - sound/firewire/bebob/bebob_stream.c
ALSA: fireworks/bebob/dice/oxfw: make it possible to shutdown safely
[people/ms/linux.git] / sound / firewire / bebob / bebob_stream.c
index fcca3eebc91fb58bd53fd817b5467186afc8c20c..98e4fc8121a1f4bdad82d892d79fa5c8241086af 100644 (file)
@@ -716,14 +716,10 @@ void snd_bebob_stream_update_duplex(struct snd_bebob *bebob)
  */
 void snd_bebob_stream_destroy_duplex(struct snd_bebob *bebob)
 {
-       mutex_lock(&bebob->mutex);
-
        amdtp_stream_destroy(&bebob->rx_stream);
        amdtp_stream_destroy(&bebob->tx_stream);
 
        destroy_both_connections(bebob);
-
-       mutex_unlock(&bebob->mutex);
 }
 
 /*