solo/go7007: drop elem_size: now set by control framework
Subsystems (2)
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 <[email protected]>
--- 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
@@ -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
@@ -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