From: Takashi Sakamoto Date: Fri, 22 May 2015 14:00:54 +0000 (+0900) Subject: ALSA: firewire-lib: remove restriction for non-blocking mode X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=727d3a0b1f97404eb1c3c136ba7fd41ab7ea6a22;p=deliverable%2Flinux.git 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: Takashi Sakamoto Signed-off-by: Takashi Iwai --- diff --git a/sound/firewire/amdtp.c b/sound/firewire/amdtp.c index c26dda7f41e6..97afc887a53d 100644 --- a/sound/firewire/amdtp.c +++ b/sound/firewire/amdtp.c @@ -909,7 +909,7 @@ static void amdtp_stream_first_callback(struct fw_iso_context *context, if (s->direction == AMDTP_IN_STREAM) 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; else context->callback.sc = out_stream_callback;