aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPranav Tipnis <pranav.tipnis@linaro.org>2013-11-18 13:31:53 +0530
committerTushar Behera <tushar.behera@linaro.org>2013-11-18 14:15:22 +0530
commit7bfc6cb874c6952c69d85f0c3becb532406a6559 (patch)
tree6ae4674fab772099f4818df3425450f9c8d5cff7
parentfb4e3e46cbf52927cdbe4dc89c62365ae481d8c7 (diff)
media: s5p-tv: Inform timestamp type used by HDMIsamsung-lt-v3.12-rc2-2
Since the introduction of the timestamp_type field, it is necessary that the driver chooses which type it will use. This patch adds support for informing timestamp_type used by HDMI driver, i.e V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC. Signed-off-by: Pranav Tipnis <pranav.tipnis@linaro.org> Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
-rw-r--r--drivers/media/platform/s5p-tv/mixer_video.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/platform/s5p-tv/mixer_video.c b/drivers/media/platform/s5p-tv/mixer_video.c
index 1f5cdaf2fdb..221ca6ac165 100644
--- a/drivers/media/platform/s5p-tv/mixer_video.c
+++ b/drivers/media/platform/s5p-tv/mixer_video.c
@@ -1133,6 +1133,7 @@ struct mxr_layer *mxr_base_layer_create(struct mxr_device *mdev,
.buf_struct_size = sizeof(struct mxr_buffer),
.ops = &mxr_video_qops,
.mem_ops = &vb2_dma_contig_memops,
+ .timestamp_type = V4L2_BUF_FLAG_TIMESTAMP_MONOTONIC,
};
return layer;