From 524bf4cc08d65dec6123e1d85f51edb89fae9d02 Mon Sep 17 00:00:00 2001 From: Hans Verkuil Date: Thu, 16 Feb 2006 23:29:55 +0100 Subject: Fix maximum for the saturation and contrast controls. From: Hans Verkuil Signed-off-by: Hans Verkuil --- linux/drivers/media/video/saa7115.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'linux/drivers/media/video/saa7115.c') diff --git a/linux/drivers/media/video/saa7115.c b/linux/drivers/media/video/saa7115.c index 22027af75..aa3600ad9 100644 --- a/linux/drivers/media/video/saa7115.c +++ b/linux/drivers/media/video/saa7115.c @@ -1038,7 +1038,7 @@ static struct v4l2_queryctrl saa7115_qctrl[] = { .type = V4L2_CTRL_TYPE_INTEGER, .name = "Contrast", .minimum = 0, - .maximum = 255, + .maximum = 127, .step = 1, .default_value = 64, .flags = 0, @@ -1047,7 +1047,7 @@ static struct v4l2_queryctrl saa7115_qctrl[] = { .type = V4L2_CTRL_TYPE_INTEGER, .name = "Saturation", .minimum = 0, - .maximum = 255, + .maximum = 127, .step = 1, .default_value = 64, .flags = 0, -- cgit v1.2.3