summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorTakashi Sakamoto2019-06-01 05:08:01 +0200
committerGreg Kroah-Hartman2019-06-19 08:17:59 +0200
commit88fe030760622e398545b90afa4125886f671dd9 (patch)
tree2a917d9746ce1599b5a1b0d15519f6d00be4abca /sound
parentALSA: hda/realtek - Update headset mode for ALC256 (diff)
downloadkernel-qcow2-linux-88fe030760622e398545b90afa4125886f671dd9.tar.gz
kernel-qcow2-linux-88fe030760622e398545b90afa4125886f671dd9.tar.xz
kernel-qcow2-linux-88fe030760622e398545b90afa4125886f671dd9.zip
ALSA: firewire-motu: fix destruction of data for isochronous resources
commit 0e3fb6995bfabb23c172e8b883bf5ac57102678e upstream. The data for isochronous resources is not destroyed in expected place. This commit fixes the bug. Cc: <stable@vger.kernel.org> # v4.12+ Fixes: 9b2bb4f2f4a2 ("ALSA: firewire-motu: add stream management functionality") Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/firewire/motu/motu-stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/firewire/motu/motu-stream.c b/sound/firewire/motu/motu-stream.c
index 73e7a5e527fc..483a8771d502 100644
--- a/sound/firewire/motu/motu-stream.c
+++ b/sound/firewire/motu/motu-stream.c
@@ -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)