projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
717f43d
)
ALSA: firewire-motu: fix destruction of data for isochronous resources
author
Takashi Sakamoto
<o-takashi@sakamocchi.jp>
Sat, 1 Jun 2019 03:08:01 +0000
(12:08 +0900)
committer
Takashi Iwai
<tiwai@suse.de>
Tue, 11 Jun 2019 09:34:04 +0000
(11:34 +0200)
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
patch
|
blob
|
blame
|
history
diff --git
a/sound/firewire/motu/motu-stream.c
b/sound/firewire/motu/motu-stream.c
index 73e7a5e527fc02445cab88df91f81c4ceae883f2..483a8771d5020abe68a5ea688446782ce37685a8 100644
(file)
--- 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)