ALSA: bebob: dismiss sleep after breaking connections

In a commit d3eabe939a ("ALSA: bebob: expand sleep just after breaking
connections for protocol version 1"), a workaround was added for a quirk
of freeze in BeBoB protocol version 1. As long as seeing with sequence
replay for media clock recovery, the quirk disappears.

This commit removes the workaround.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://lore.kernel.org/r/20210611035003.26852-2-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Takashi Sakamoto 2021-06-11 12:50:01 +09:00 committed by Takashi Iwai
parent 83fbcaed24
commit c66c630499
1 changed files with 0 additions and 6 deletions

View File

@ -401,12 +401,6 @@ static void break_both_connections(struct snd_bebob *bebob)
{ {
cmp_connection_break(&bebob->in_conn); cmp_connection_break(&bebob->in_conn);
cmp_connection_break(&bebob->out_conn); cmp_connection_break(&bebob->out_conn);
// These models seem to be in transition state for a longer time. When
// accessing in the state, any transactions is corrupted. In the worst
// case, the device is going to reboot.
if (bebob->version < 2)
msleep(600);
} }
static int start_stream(struct snd_bebob *bebob, struct amdtp_stream *stream) static int start_stream(struct snd_bebob *bebob, struct amdtp_stream *stream)