Commit 553d3c50 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

V4L/DVB (10509): saa7134-video: two int controls lack a step

Fix two broken controls where a step weren't specified. Without a step,
userspace apps won't allow to adjust such controls.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent eb47b5f9
...@@ -452,6 +452,7 @@ static const struct v4l2_queryctrl video_ctrls[] = { ...@@ -452,6 +452,7 @@ static const struct v4l2_queryctrl video_ctrls[] = {
.name = "y offset odd field", .name = "y offset odd field",
.minimum = 0, .minimum = 0,
.maximum = 128, .maximum = 128,
.step = 1,
.default_value = 0, .default_value = 0,
.type = V4L2_CTRL_TYPE_INTEGER, .type = V4L2_CTRL_TYPE_INTEGER,
},{ },{
...@@ -459,6 +460,7 @@ static const struct v4l2_queryctrl video_ctrls[] = { ...@@ -459,6 +460,7 @@ static const struct v4l2_queryctrl video_ctrls[] = {
.name = "y offset even field", .name = "y offset even field",
.minimum = 0, .minimum = 0,
.maximum = 128, .maximum = 128,
.step = 1,
.default_value = 0, .default_value = 0,
.type = V4L2_CTRL_TYPE_INTEGER, .type = V4L2_CTRL_TYPE_INTEGER,
},{ },{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment