diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2019-06-15 12:10:59 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-06-17 09:18:35 +0300 |
commit | d173265ae36f8f6f76a507e2f529c351671269c0 (patch) | |
tree | 66972458cb86189e8aec82d9ca2983c69ad90f06 | |
parent | 5e818ac21f9d48a52955e68b96148a3b18f60c09 (diff) | |
download | linux-d173265ae36f8f6f76a507e2f529c351671269c0.tar.xz |
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>
-rw-r--r-- | sound/firewire/bebob/bebob_stream.c | 2 |
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; } |