Skip to content

Commit

Permalink
ALSA: isight: adjust for new queueing API
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Clemens Ladisch authored and Takashi Iwai committed Jun 17, 2011
1 parent 0ec5258 commit cf6f1ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sound/firewire/isight.c
Original file line number Diff line number Diff line change
@@ -209,6 +209,7 @@ static void isight_packet(struct fw_iso_context *context, u32 cycle,
isight->packet_index = -1;
return;
}
fw_iso_context_queue_flush(isight->context);

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

0 comments on commit cf6f1ff

Please sign in to comment.