From: Clemens Ladisch Date: Fri, 17 Jun 2011 06:18:35 +0000 (+0200) Subject: ALSA: isight: adjust for new queueing API X-Git-Tag: v3.0~56^2~19 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cf6f1ff17f56c275424c5a341fc4d27ccbbfa71c;p=platform%2Fkernel%2Flinux-amlogic.git ALSA: isight: adjust for new queueing API Since commit 13882a82ee16 (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 Signed-off-by: Takashi Iwai --- diff --git a/sound/firewire/isight.c b/sound/firewire/isight.c index 86ee16c..4400308 100644 --- a/sound/firewire/isight.c +++ b/sound/firewire/isight.c @@ -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;