summaryrefslogtreecommitdiff
path: root/sound/firewire/bebob
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2019-06-15 18:10:59 +0900
committerTakashi Iwai <tiwai@suse.de>2019-06-17 08:18:35 +0200
commitd173265ae36f8f6f76a507e2f529c351671269c0 (patch)
tree66972458cb86189e8aec82d9ca2983c69ad90f06 /sound/firewire/bebob
parent5e818ac21f9d48a52955e68b96148a3b18f60c09 (diff)
ALSA: bebob: code refactoring for error path to start duplex stream
This commit removes useless procedures to stop packet streaming. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire/bebob')
-rw-r--r--sound/firewire/bebob/bebob_stream.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/firewire/bebob/bebob_stream.c b/sound/firewire/bebob/bebob_stream.c
index 6aab3dc99bef..9ef4663d13e5 100644
--- a/sound/firewire/bebob/bebob_stream.c
+++ b/sound/firewire/bebob/bebob_stream.c
@@ -650,8 +650,6 @@ int snd_bebob_stream_start_duplex(struct snd_bebob *bebob)
if (!amdtp_stream_wait_callback(&bebob->rx_stream,
CALLBACK_TIMEOUT)) {
- amdtp_stream_stop(&bebob->rx_stream);
- break_both_connections(bebob);
err = -ETIMEDOUT;
goto error;
}