From patchwork Sat Nov 7 12:41:13 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mauro Carvalho Chehab X-Patchwork-Id: 58319 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nA7CfWaN019928 for ; Sat, 7 Nov 2009 12:41:32 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751851AbZKGMlZ (ORCPT ); Sat, 7 Nov 2009 07:41:25 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751850AbZKGMlZ (ORCPT ); Sat, 7 Nov 2009 07:41:25 -0500 Received: from mx1.redhat.com ([209.132.183.28]:23376 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751841AbZKGMlY (ORCPT ); Sat, 7 Nov 2009 07:41:24 -0500 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nA7CfK41031350; Sat, 7 Nov 2009 07:41:20 -0500 Received: from pedra.chehab.org (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id nA7CfFst008207 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 7 Nov 2009 07:41:18 -0500 Date: Sat, 7 Nov 2009 10:41:13 -0200 From: Mauro Carvalho Chehab To: e9hack Cc: linux-media@vger.kernel.org, johann.friedrichs@web.de, hunold@linuxtv.org Subject: Re: bug in changeset 13239:54535665f94b ? Message-ID: <20091107104113.0df4593b@pedra.chehab.org> In-Reply-To: <4AEDB05E.1090704@googlemail.com> References: <4AEDB05E.1090704@googlemail.com> Mime-Version: 1.0 X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org diff --git a/linux/drivers/media/common/saa7146_video.c b/linux/drivers/media/common/saa7146_video.c --- a/linux/drivers/media/common/saa7146_video.c +++ b/linux/drivers/media/common/saa7146_video.c @@ -1334,9 +1334,9 @@ static void buffer_release(struct videob DEB_CAP(("vbuf:%p\n",vb)); + saa7146_dma_free(dev,q,buf); + release_all_pagetables(dev, buf); - - saa7146_dma_free(dev,q,buf); } static struct videobuf_queue_ops video_qops = {