summaryrefslogtreecommitdiffstats
path: root/sound/firewire/amdtp-stream.c
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2019-10-18 08:19:09 +0200
committerTakashi Iwai <tiwai@suse.de>2019-10-19 09:18:25 +0200
commit813dfbd6845e5366f2dbef190a695f8b06c1d83d (patch)
treee01fe2f7c1e1e049a0ba692157ad24baad618438 /sound/firewire/amdtp-stream.c
parentALSA: firewire-lib: replace ack callback to flush isoc contexts in AMDTP domain (diff)
downloadlinux-813dfbd6845e5366f2dbef190a695f8b06c1d83d.tar.xz
linux-813dfbd6845e5366f2dbef190a695f8b06c1d83d.zip
ALSA: firewire-lib: cancel flushing isoc context in the laste step to process context callback
The aim of AMDTP domain is to process several isoc context in the same time. However, current implementation is against this idea because it flushes each isoc context in the end of processing context callback. This commit cancels it. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Link: https://lore.kernel.org/r/20191018061911.24909-5-o-takashi@sakamocchi.jp Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire/amdtp-stream.c')
-rw-r--r--sound/firewire/amdtp-stream.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sound/firewire/amdtp-stream.c b/sound/firewire/amdtp-stream.c
index 3d27d4ce2b45..36c3f1f9dbff 100644
--- a/sound/firewire/amdtp-stream.c
+++ b/sound/firewire/amdtp-stream.c
@@ -842,8 +842,6 @@ static void out_stream_callback(struct fw_iso_context *context, u32 tstamp,
}
s->event_count = event_count;
-
- fw_iso_context_queue_flush(s->context);
}
static void in_stream_callback(struct fw_iso_context *context, u32 tstamp,
@@ -897,8 +895,6 @@ static void in_stream_callback(struct fw_iso_context *context, u32 tstamp,
}
s->event_count = event_count;
-
- fw_iso_context_queue_flush(s->context);
}
/* this is executed one time */