Commit c66c6304 authored by Takashi Sakamoto's avatar Takashi Sakamoto Committed by Takashi Iwai
Browse files

ALSA: bebob: dismiss sleep after breaking connections



In a commit d3eabe93 ("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: default avatarTakashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://lore.kernel.org/r/20210611035003.26852-2-o-takashi@sakamocchi.jp


Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 83fbcaed
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -401,12 +401,6 @@ static void break_both_connections(struct snd_bebob *bebob)
{
	cmp_connection_break(&bebob->in_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)