ALSA: firewire-tascam: Fix to handle error from initialization of stream data
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Tue, 3 Jan 2017 02:58:33 +0000 (11:58 +0900)
committerTakashi Iwai <tiwai@suse.de>
Tue, 3 Jan 2017 10:36:34 +0000 (11:36 +0100)
commit6a2a2f45560a9cb7bc49820883b042e44f83726c
tree89b5743cd7b0ac62adcc910b2c99c7aa3884cef4
parente2eb31d72156c58b717396383496a7c93aa01b75
ALSA: firewire-tascam: Fix to handle error from initialization of stream data

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")
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/tascam/tascam-stream.c