Skip to contentSkip to conversation

Patch "ALSA: firewire-tascam: Fix to handle error from initialization of stream data" has been added to the 4.4-stable tree

PATCH [email protected] 1 participant 1 message Jan 13, 2017

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

ALSA: firewire-tascam: Fix to handle error from initialization of stream data

to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
alsa-firewire-tascam-fix-to-handle-error-from-initialization-of-stream-data.patch
and it can be found in the queue-4.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From 6a2a2f45560a9cb7bc49820883b042e44f83726c Mon Sep 17 00:00:00 2001

From: Takashi Sakamoto <[email protected]>
Date: Tue, 3 Jan 2017 11:58:33 +0900
Subject: ALSA: firewire-tascam: Fix to handle error from initialization of stream data

From: Takashi Sakamoto <[email protected]>

commit 6a2a2f45560a9cb7bc49820883b042e44f83726c upstream.

This module has a bug not to return error code in a case that data structure for transmitted packets fails to be initialized.

This commit fixes the bug.

Fixes 35efa5c489de ("ALSA: firewire-tascam: add streaming functionality")
---
 sound/firewire/tascam/tascam-stream.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/firewire/tascam/tascam-stream.c +1 -1
@@ -343,7 +343,7 @@ int snd_tscm_stream_init_duplex(struct s
 	if (err < 0)
 		amdtp_stream_destroy(&tscm->rx_stream);
 
-	return 0;
+	return err;
 }
 
 /* At bus reset, streaming is stopped and some registers are clear. */

Patches currently in stable-queue which might be from [email protected] are

queue-4.4/alsa-firewire-tascam-fix-to-handle-error-from-initialization-of-stream-data.patch