summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-02-09 06:33:54 -0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-02-09 06:33:54 -0200
commit3b9a242cbd6a8f91f6a3f13baf4519353d48372a (patch)
treea211329db8f7c085fdfb0de5a8c16953bee33820 /linux
parent179db25fdf42f7df16cc1f2045211dcac5b08c2d (diff)
downloadmediapointer-dvb-s2-3b9a242cbd6a8f91f6a3f13baf4519353d48372a.tar.gz
mediapointer-dvb-s2-3b9a242cbd6a8f91f6a3f13baf4519353d48372a.tar.bz2
saa7134-video: two int controls lack a step
From: Mauro Carvalho Chehab <mchehab@redhat.com> 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 'linux')
-rw-r--r--linux/drivers/media/video/saa7134/saa7134-video.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/drivers/media/video/saa7134/saa7134-video.c b/linux/drivers/media/video/saa7134/saa7134-video.c
index 2180527b3..f3c170d23 100644
--- a/linux/drivers/media/video/saa7134/saa7134-video.c
+++ b/linux/drivers/media/video/saa7134/saa7134-video.c
@@ -452,6 +452,7 @@ static const struct v4l2_queryctrl video_ctrls[] = {
.name = "y offset odd field",
.minimum = 0,
.maximum = 128,
+ .step = 1,
.default_value = 0,
.type = V4L2_CTRL_TYPE_INTEGER,
},{
@@ -459,6 +460,7 @@ static const struct v4l2_queryctrl video_ctrls[] = {
.name = "y offset even field",
.minimum = 0,
.maximum = 128,
+ .step = 1,
.default_value = 0,
.type = V4L2_CTRL_TYPE_INTEGER,
},{