Skip to content

Commit

Permalink
ALSA: firewire-motu: fix destruction of data for isochronous resources
Browse files Browse the repository at this point in the history
The data for isochronous resources is not destroyed in expected place.
This commit fixes the bug.

Cc: <stable@vger.kernel.org> # v4.12+
Fixes: 9b2bb4f ("ALSA: firewire-motu: add stream management functionality")
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
takaswie authored and tiwai committed Jun 11, 2019
1 parent 717f43d commit 0e3fb69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/firewire/motu/motu-stream.c
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ static void destroy_stream(struct snd_motu *motu,
}

amdtp_stream_destroy(stream);
fw_iso_resources_free(resources);
fw_iso_resources_destroy(resources);
}

int snd_motu_stream_init_duplex(struct snd_motu *motu)
Expand Down

0 comments on commit 0e3fb69

Please sign in to comment.