All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hans Verkuil <hverkuil@xs4all.nl>
To: Linux Media Mailing List <linux-media@vger.kernel.org>
Cc: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Subject: [REVIEWv2 PATCH 38/34] solo/go7007: drop elem_size: now set by control framework
Date: Sat, 15 Feb 2014 13:04:19 +0100	[thread overview]
Message-ID: <52FF57C3.60200@xs4all.nl> (raw)

The control framework will fill in elem_size for the standard types
the framework knows about, so no longer set these explicitly.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
---
 drivers/staging/media/go7007/go7007-v4l2.c         | 1 -
 drivers/staging/media/solo6x10/solo6x10-v4l2-enc.c | 1 -
 2 files changed, 2 deletions(-)

diff --git a/drivers/staging/media/go7007/go7007-v4l2.c b/drivers/staging/media/go7007/go7007-v4l2.c
index 4cf78d2..ad41483 100644
--- a/drivers/staging/media/go7007/go7007-v4l2.c
+++ b/drivers/staging/media/go7007/go7007-v4l2.c
@@ -1038,7 +1038,6 @@ static const struct v4l2_ctrl_config go7007_mb_regions_ctrl = {
 	.id = V4L2_CID_DETECT_MD_REGION_GRID,
 	.rows = 576 / 16,
 	.cols = 720 / 16,
-	.elem_size = 1,
 	.max = 3,
 	.step = 1,
 };
diff --git a/drivers/staging/media/solo6x10/solo6x10-v4l2-enc.c b/drivers/staging/media/solo6x10/solo6x10-v4l2-enc.c
index 3b994d7..ccdf0f3 100644
--- a/drivers/staging/media/solo6x10/solo6x10-v4l2-enc.c
+++ b/drivers/staging/media/solo6x10/solo6x10-v4l2-enc.c
@@ -1237,7 +1237,6 @@ static const struct v4l2_ctrl_config solo_md_thresholds = {
 	.rows = SOLO_MOTION_SZ,
 	.cols = SOLO_MOTION_SZ,
 	.def = SOLO_DEF_MOT_THRESH,
-	.elem_size = 2,
 	.max = 65535,
 	.step = 1,
 };
-- 
1.8.5.2


                 reply	other threads:[~2014-02-15 12:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=52FF57C3.60200@xs4all.nl \
    --to=hverkuil@xs4all.nl \
    --cc=linux-media@vger.kernel.org \
    --cc=ricardo.ribalda@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.