Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f06c05f2 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "USB: gadget: midi: Replace snd_card_free with snd_card_free_closed"

parents 01fd206b cee1a783
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -406,7 +406,7 @@ static void f_midi_unbind(struct usb_configuration *c, struct usb_function *f)
	card = midi->card;
	midi->card = NULL;
	if (card)
		snd_card_free(card);
		snd_card_free_when_closed(card);

	kfree(midi->id);
	midi->id = NULL;