diff options
| author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2019-05-31 23:08:01 -0400 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2019-06-11 05:34:04 -0400 |
| commit | 0e3fb6995bfabb23c172e8b883bf5ac57102678e (patch) | |
| tree | 3ef3920cfd8734f9eca7dca26ba27418fa8531cd | |
| parent | 717f43d81afc1250300479075952a0e36d74ded3 (diff) | |
ALSA: firewire-motu: fix destruction of data for isochronous resources
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>
| -rw-r--r-- | sound/firewire/motu/motu-stream.c | 2 |
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, | |||
| 345 | } | 345 | } |
| 346 | 346 | ||
| 347 | amdtp_stream_destroy(stream); | 347 | amdtp_stream_destroy(stream); |
| 348 | fw_iso_resources_free(resources); | 348 | fw_iso_resources_destroy(resources); |
| 349 | } | 349 | } |
| 350 | 350 | ||
| 351 | int snd_motu_stream_init_duplex(struct snd_motu *motu) | 351 | int snd_motu_stream_init_duplex(struct snd_motu *motu) |
