summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2015-05-22 10:00:54 -0400
committerTakashi Iwai <tiwai@suse.de>2015-05-23 03:13:21 -0400
commit727d3a0b1f97404eb1c3c136ba7fd41ab7ea6a22 (patch)
tree21e82b4dc4f6c8af3867b127a74fe9f4d3651dd9
parenta4103bd7fdd59548580bdbc8e995ef9621ef670e (diff)
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 <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--sound/firewire/amdtp.c2
1 files changed, 1 insertions, 1 deletions
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,
909 909
910 if (s->direction == AMDTP_IN_STREAM) 910 if (s->direction == AMDTP_IN_STREAM)
911 context->callback.sc = in_stream_callback; 911 context->callback.sc = in_stream_callback;
912 else if ((s->flags & CIP_BLOCKING) && (s->flags & CIP_SYNC_TO_DEVICE)) 912 else if (s->flags & CIP_SYNC_TO_DEVICE)
913 context->callback.sc = slave_stream_callback; 913 context->callback.sc = slave_stream_callback;
914 else 914 else
915 context->callback.sc = out_stream_callback; 915 context->callback.sc = out_stream_callback;