|
@@ -128,6 +128,7 @@ static void do_registration(struct work_struct *work)
|
|
return;
|
|
return;
|
|
error:
|
|
error:
|
|
snd_motu_transaction_unregister(motu);
|
|
snd_motu_transaction_unregister(motu);
|
|
|
|
+ snd_motu_stream_destroy_duplex(motu);
|
|
snd_card_free(motu->card);
|
|
snd_card_free(motu->card);
|
|
dev_info(&motu->unit->device,
|
|
dev_info(&motu->unit->device,
|
|
"Sound card registration failed: %d\n", err);
|
|
"Sound card registration failed: %d\n", err);
|