提交 727d3a0b 编写于 作者: T Takashi Sakamoto 提交者: Takashi Iwai

ALSA: firewire-lib: remove restriction for non-blocking mode

Former patches allow non-blocking streams to synchronize with timestamp.
This patch removes the restriction.
Signed-off-by: NTakashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
上级 a4103bd7
...@@ -909,7 +909,7 @@ static void amdtp_stream_first_callback(struct fw_iso_context *context, ...@@ -909,7 +909,7 @@ static void amdtp_stream_first_callback(struct fw_iso_context *context,
if (s->direction == AMDTP_IN_STREAM) if (s->direction == AMDTP_IN_STREAM)
context->callback.sc = in_stream_callback; context->callback.sc = in_stream_callback;
else if ((s->flags & CIP_BLOCKING) && (s->flags & CIP_SYNC_TO_DEVICE)) else if (s->flags & CIP_SYNC_TO_DEVICE)
context->callback.sc = slave_stream_callback; context->callback.sc = slave_stream_callback;
else else
context->callback.sc = out_stream_callback; context->callback.sc = out_stream_callback;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册