Home Home > GIT Browse > SLE15-AZURE
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-06-14 20:28:51 +0200
committerTakashi Iwai <tiwai@suse.de>2019-06-14 20:28:57 +0200
commitdea29f1626f335e63755ef2c3c0d4942688189be (patch)
tree733873a3cee19bc774655c793ac51ec6d8755db6
parent376785b1921adf3be87e965bf260ce1d3fcfad67 (diff)
ALSA: firewire-motu: fix destruction of data for isochronous
resources (bsc#1051510).
-rw-r--r--patches.drivers/ALSA-firewire-motu-fix-destruction-of-data-for-isoch.patch36
-rw-r--r--series.conf1
2 files changed, 37 insertions, 0 deletions
diff --git a/patches.drivers/ALSA-firewire-motu-fix-destruction-of-data-for-isoch.patch b/patches.drivers/ALSA-firewire-motu-fix-destruction-of-data-for-isoch.patch
new file mode 100644
index 0000000000..a85740577e
--- /dev/null
+++ b/patches.drivers/ALSA-firewire-motu-fix-destruction-of-data-for-isoch.patch
@@ -0,0 +1,36 @@
+From 0e3fb6995bfabb23c172e8b883bf5ac57102678e Mon Sep 17 00:00:00 2001
+From: Takashi Sakamoto <o-takashi@sakamocchi.jp>
+Date: Sat, 1 Jun 2019 12:08:01 +0900
+Subject: [PATCH] ALSA: firewire-motu: fix destruction of data for isochronous resources
+Git-commit: 0e3fb6995bfabb23c172e8b883bf5ac57102678e
+Patch-mainline: v5.2-rc5
+References: bsc#1051510
+
+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>
+
+---
+ sound/firewire/motu/motu-stream.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+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)
+--
+2.16.4
+
diff --git a/series.conf b/series.conf
index 79f09d5242..aa44916df9 100644
--- a/series.conf
+++ b/series.conf
@@ -22429,6 +22429,7 @@
patches.drivers/parport-Fix-mem-leak-in-parport_register_dev_model.patch
patches.fixes/0001-test_firmware-Use-correct-snprintf-limit.patch
patches.drivers/ALSA-hda-realtek-Update-headset-mode-for-ALC256.patch
+ patches.drivers/ALSA-firewire-motu-fix-destruction-of-data-for-isoch.patch
# davem/net
patches.drivers/ibmvnic-Do-not-close-unopened-driver-during-reset.patch