From patchwork Tue Oct 13 15:06:52 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vaibhav Hiremath X-Patchwork-Id: 53424 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 n9DFEEbm025858 for ; Tue, 13 Oct 2009 15:14:15 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760134AbZJMPHe (ORCPT ); Tue, 13 Oct 2009 11:07:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759949AbZJMPHe (ORCPT ); Tue, 13 Oct 2009 11:07:34 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:49873 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759413AbZJMPHe (ORCPT ); Tue, 13 Oct 2009 11:07:34 -0400 Received: from dbdp31.itg.ti.com ([172.24.170.98]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id n9DF6sPm022672 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 13 Oct 2009 10:06:57 -0500 Received: from localhost.localdomain (localhost [127.0.0.1]) by dbdp31.itg.ti.com (8.13.8/8.13.8) with ESMTP id n9DF6qYp027475; Tue, 13 Oct 2009 20:36:53 +0530 (IST) From: hvaibhav@ti.com To: linux-media@vger.kernel.org Cc: Vaibhav Hiremath Subject: [PATCH 1/6] Davinci VPFE Capture: Specify device pointer in videobuf_queue_dma_contig_init Date: Tue, 13 Oct 2009 20:36:52 +0530 Message-Id: <1255446412-16642-1-git-send-email-hvaibhav@ti.com> X-Mailer: git-send-email 1.6.2.4 In-Reply-To: References: Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org diff --git a/drivers/media/video/davinci/vpfe_capture.c b/drivers/media/video/davinci/vpfe_capture.c index ff43446..dc32de0 100644 --- a/drivers/media/video/davinci/vpfe_capture.c +++ b/drivers/media/video/davinci/vpfe_capture.c @@ -1547,7 +1547,7 @@ static int vpfe_reqbufs(struct file *file, void *priv, vpfe_dev->memory = req_buf->memory; videobuf_queue_dma_contig_init(&vpfe_dev->buffer_queue, &vpfe_videobuf_qops, - NULL, + vpfe_dev->pdev, &vpfe_dev->irqlock, req_buf->type, vpfe_dev->fmt.fmt.pix.field,