summaryrefslogtreecommitdiff
path: root/drivers/staging/media/omap4iss/iss_csi2.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2014-07-08 01:44:15 +0400
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-12-23 13:55:30 +0300
commit707acfc072676d4b9f5db8d2082e2f0c79c34bb4 (patch)
treeab16f7266f4f4a7c6447b06bce876c06821f9b05 /drivers/staging/media/omap4iss/iss_csi2.h
parentdd162547f10132b8ea63adb7f795acc5020616fd (diff)
downloadlinux-707acfc072676d4b9f5db8d2082e2f0c79c34bb4.tar.xz
[media] v4l: omap4iss: csi2: Perform real frame number propagation
Compute the pipeline frame number from the frame number sent by the sensor instead of incrementing the frame number in software. This improves dropped frames detection. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/staging/media/omap4iss/iss_csi2.h')
-rw-r--r--drivers/staging/media/omap4iss/iss_csi2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/media/omap4iss/iss_csi2.h b/drivers/staging/media/omap4iss/iss_csi2.h
index 971aa7b08013..3b37978a3bdf 100644
--- a/drivers/staging/media/omap4iss/iss_csi2.h
+++ b/drivers/staging/media/omap4iss/iss_csi2.h
@@ -82,6 +82,7 @@ struct iss_csi2_ctx_cfg {
u8 virtual_id;
u16 format_id; /* as in CSI2_CTx_CTRL2[9:0] */
u8 dpcm_predictor; /* 1: simple, 0: advanced */
+ u16 frame;
/* Fields in CSI2_CTx_CTRL1/3 - Shadowed */
u16 alpha;
@@ -137,7 +138,6 @@ struct iss_csi2_device {
u32 output; /* output to IPIPEIF, memory or both? */
bool dpcm_decompress;
unsigned int frame_skip;
- bool use_fs_irq;
struct iss_csiphy *phy;
struct iss_csi2_ctx_cfg contexts[ISS_CSI2_MAX_CTX_NUM + 1];