Skip to content

Commit cf6f1ff

Browse files
cladischtiwai
authored andcommitted
ALSA: isight: adjust for new queueing API
Since commit 13882a8 (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: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent 0ec5258 commit cf6f1ff

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sound/firewire/isight.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ static void isight_packet(struct fw_iso_context *context, u32 cycle,
209209
isight->packet_index = -1;
210210
return;
211211
}
212+
fw_iso_context_queue_flush(isight->context);
212213

213214
if (++index >= QUEUE_LENGTH)
214215
index = 0;

0 commit comments

Comments
 (0)