Commit cf6f1ff1 authored by Clemens Ladisch's avatar Clemens Ladisch Committed by Takashi Iwai
Browse files

ALSA: isight: adjust for new queueing API

Since commit 13882a82

 (optimize iso queueing by setting
wake only after the last packet), drivers are required to call
fw_iso_context_queue_flush() after queueing a batch of packets.
The missing call would have an effect only if the controller
queue underruns, but then the DMA would stop completely.

Signed-off-by: default avatarClemens Ladisch <>
Signed-off-by: default avatarTakashi Iwai <>
parent 0ec5258d
...@@ -209,6 +209,7 @@ static void isight_packet(struct fw_iso_context *context, u32 cycle, ...@@ -209,6 +209,7 @@ static void isight_packet(struct fw_iso_context *context, u32 cycle,
isight->packet_index = -1; isight->packet_index = -1;
return; return;
} }
if (++index >= QUEUE_LENGTH) if (++index >= QUEUE_LENGTH)
index = 0; index = 0;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment