diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-02-09 03:33:54 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-30 11:42:43 -0400 |
commit | 553d3c5067afceda3cdbfbf51c1e4a512a3b0627 (patch) | |
tree | a98e414ef71fe5c9da5f710f41c1c67a28d966df /drivers/media/video/saa7134 | |
parent | eb47b5f981eaae280cf95b9511243f074d01424b (diff) |
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: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/saa7134')
-rw-r--r-- | drivers/media/video/saa7134/saa7134-video.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/saa7134/saa7134-video.c b/drivers/media/video/saa7134/saa7134-video.c index 193b07d83d1e..adfdb662c5eb 100644 --- a/drivers/media/video/saa7134/saa7134-video.c +++ b/drivers/media/video/saa7134/saa7134-video.c | |||
@@ -452,6 +452,7 @@ static const struct v4l2_queryctrl video_ctrls[] = { | |||
452 | .name = "y offset odd field", | 452 | .name = "y offset odd field", |
453 | .minimum = 0, | 453 | .minimum = 0, |
454 | .maximum = 128, | 454 | .maximum = 128, |
455 | .step = 1, | ||
455 | .default_value = 0, | 456 | .default_value = 0, |
456 | .type = V4L2_CTRL_TYPE_INTEGER, | 457 | .type = V4L2_CTRL_TYPE_INTEGER, |
457 | },{ | 458 | },{ |
@@ -459,6 +460,7 @@ static const struct v4l2_queryctrl video_ctrls[] = { | |||
459 | .name = "y offset even field", | 460 | .name = "y offset even field", |
460 | .minimum = 0, | 461 | .minimum = 0, |
461 | .maximum = 128, | 462 | .maximum = 128, |
463 | .step = 1, | ||
462 | .default_value = 0, | 464 | .default_value = 0, |
463 | .type = V4L2_CTRL_TYPE_INTEGER, | 465 | .type = V4L2_CTRL_TYPE_INTEGER, |
464 | },{ | 466 | },{ |