From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Richter Subject: [PATCH] ALSA: isight: add now required waking of DMA context Date: Tue, 31 May 2011 11:07:50 +0200 Message-ID: <20110531110750.00a03563@stein> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from einhorn.in-berlin.de (einhorn.in-berlin.de [192.109.42.8]) by alsa0.perex.cz (Postfix) with ESMTP id C2AF424604 for ; Tue, 31 May 2011 11:07:57 +0200 (CEST) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Clemens Ladisch Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org Since commit 13882a82ee16, upper-layer firewire drivers are required to flush after enqueueing a batch of isochronous buffers. Signed-off-by: Stefan Richter --- Actually, snd-isight still worked for me without it but I guess I was just lucky that the controllers (FW643-e, JMB381, XIO2213A) never read up to the current tail of the DMA program. Dismiss this if you already have something like this in the pipeline. sound/firewire/isight.c | 1 + 1 file changed, 1 insertion(+) Index: b/sound/firewire/isight.c =================================================================== --- a/sound/firewire/isight.c +++ b/sound/firewire/isight.c @@ -213,6 +213,7 @@ static void isight_packet(struct fw_iso_ if (++index >= QUEUE_LENGTH) index = 0; isight->packet_index = index; + fw_iso_context_queue_flush(isight->context); } static int isight_connect(struct isight *isight) -- Stefan Richter -=====-==-== -=-= ===== http://arcgraph.de/sr/