public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Mateusz Krawczuk <m.krawczuk@samsung.com>
To: linux-media@vger.kernel.org
Subject: [PATCH] media: s5p-tv: Fix Warn on driver probe
Date: Fri, 05 Jul 2013 09:39:06 +0200	[thread overview]
Message-ID: <51D6781A.2000202@samsung.com> (raw)

 From 2cbf0f259fe24d0e3fe9f5b45036dcae3ffb6213 Mon Sep 17 00:00:00 2001
From: Mateusz Krawczuk<m.krawczuk@samsung.com>
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@partner.samsung.com>
Acked-by: Tomasz Stanislawski<t.stanislaws@samsung.com>
---
  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


             reply	other threads:[~2013-07-05  7:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-05  7:39 Mateusz Krawczuk [this message]
2013-07-09 15:32 ` [PATCH] media: s5p-tv: Fix Warn on driver probe Kamil Debski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51D6781A.2000202@samsung.com \
    --to=m.krawczuk@samsung.com \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox