Return-path: Received: from mail-ww0-f44.google.com ([74.125.82.44]:39292 "EHLO mail-ww0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751240Ab1JIPK2 (ORCPT ); Sun, 9 Oct 2011 11:10:28 -0400 Received: by wwf22 with SMTP id 22so8042167wwf.1 for ; Sun, 09 Oct 2011 08:10:26 -0700 (PDT) From: Javier Martinez Canillas To: Laurent Pinchart Cc: Sakari Ailus , Enrico , Gary Thomas , Adam Pledger , Deepthy Ravi , linux-media@vger.kernel.org, Javier Martinez Canillas Subject: [PATCH v2 2/3] omap3isp: ccdc: Add interlaced count field to isp_ccdc_device Date: Sun, 9 Oct 2011 17:10:19 +0200 Message-Id: <1318173020-7302-2-git-send-email-martinez.javier@gmail.com> In-Reply-To: <1318173020-7302-1-git-send-email-martinez.javier@gmail.com> References: <1318173020-7302-1-git-send-email-martinez.javier@gmail.com> Sender: linux-media-owner@vger.kernel.org List-ID: When configured in interlaced field mode, the ISP CCDC has to know which sub-frame of the current frame is processing. Signed-off-by: Javier Martinez Canillas --- drivers/media/video/omap3isp/ispccdc.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/media/video/omap3isp/ispccdc.h b/drivers/media/video/omap3isp/ispccdc.h index 54811ce..8863eea 100644 --- a/drivers/media/video/omap3isp/ispccdc.h +++ b/drivers/media/video/omap3isp/ispccdc.h @@ -134,6 +134,7 @@ struct ispccdc_lsc { * @wait: Wait queue used to stop the module * @stopping: Stopping state * @ioctl_lock: Serializes ioctl calls and LSC requests freeing + * @interlaced_cnt: Sub-frame count for an interlaced video frame */ struct isp_ccdc_device { struct v4l2_subdev subdev; @@ -164,6 +165,7 @@ struct isp_ccdc_device { wait_queue_head_t wait; unsigned int stopping; struct mutex ioctl_lock; + unsigned int interlaced_cnt; }; struct isp_device; -- 1.7.4.1