From 2cbf0f259fe24d0e3fe9f5b45036dcae3ffb6213 Mon Sep 17 00:00:00 2001
From: Mateusz Krawczuk<m.krawczuk@xxxxxxxxxxx>
Date: Wed, 3 Jul 2013 14:51:45 +0200
Subject: [PATCH] media: s5p-tv: Fix Warn on driver probe
The timestamp_type field in struct vb2_queue wasn`t initalized at s5p-tv probe.
This caused warn on message at boot. This patch fixed this issue.
Signed-off-by: Mateusz Krawczuk<m.krawczuk@xxxxxxxxxxxxxxxxxxx>
Acked-by: Tomasz Stanislawski<t.stanislaws@xxxxxxxxxxx>
---
drivers/media/platform/s5p-tv/mixer_video.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/media/platform/s5p-tv/mixer_video.c b/drivers/media/platform/s5p-tv/mixer_video.c
index 641b1f0..87e3b0a 100644
--- a/drivers/media/platform/s5p-tv/mixer_video.c
+++ b/drivers/media/platform/s5p-tv/mixer_video.c
@@ -1125,6 +1125,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;
-- 1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html