Skip to contentSkip to conversation

solo/go7007: drop elem_size: now set by control framework

PATCH Hans Verkuil 1 participant 1 message Feb 15, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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

---
 drivers/staging/media/go7007/go7007-v4l2.c         | 1 -
 drivers/staging/media/solo6x10/solo6x10-v4l2-enc.c | 1 -
 2 files changed, 2 deletions(-)
drivers/staging/media/go7007/go7007-v4l2.c +0 -1
index 4cf78d2..ad41483 100644
@@ -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,
 };
drivers/staging/media/solo6x10/solo6x10-v4l2-enc.c +0 -1
index 3b994d7..ccdf0f3 100644
@@ -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,
 };
Signature · 1 line
1.8.5.2