mirror of
https://github.com/torvalds/linux.git
synced 2024-12-12 14:12:51 +00:00
V4L/DVB (3354): Fix maximum for the saturation and contrast controls.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
parent
fddd632a8f
commit
ecc0b94742
@ -567,7 +567,7 @@ static struct v4l2_queryctrl cx25840_qctrl[] = {
|
|||||||
.type = V4L2_CTRL_TYPE_INTEGER,
|
.type = V4L2_CTRL_TYPE_INTEGER,
|
||||||
.name = "Contrast",
|
.name = "Contrast",
|
||||||
.minimum = 0,
|
.minimum = 0,
|
||||||
.maximum = 255,
|
.maximum = 127,
|
||||||
.step = 1,
|
.step = 1,
|
||||||
.default_value = 64,
|
.default_value = 64,
|
||||||
.flags = 0,
|
.flags = 0,
|
||||||
@ -576,7 +576,7 @@ static struct v4l2_queryctrl cx25840_qctrl[] = {
|
|||||||
.type = V4L2_CTRL_TYPE_INTEGER,
|
.type = V4L2_CTRL_TYPE_INTEGER,
|
||||||
.name = "Saturation",
|
.name = "Saturation",
|
||||||
.minimum = 0,
|
.minimum = 0,
|
||||||
.maximum = 255,
|
.maximum = 127,
|
||||||
.step = 1,
|
.step = 1,
|
||||||
.default_value = 64,
|
.default_value = 64,
|
||||||
.flags = 0,
|
.flags = 0,
|
||||||
|
@ -1027,7 +1027,7 @@ static struct v4l2_queryctrl saa7115_qctrl[] = {
|
|||||||
.type = V4L2_CTRL_TYPE_INTEGER,
|
.type = V4L2_CTRL_TYPE_INTEGER,
|
||||||
.name = "Contrast",
|
.name = "Contrast",
|
||||||
.minimum = 0,
|
.minimum = 0,
|
||||||
.maximum = 255,
|
.maximum = 127,
|
||||||
.step = 1,
|
.step = 1,
|
||||||
.default_value = 64,
|
.default_value = 64,
|
||||||
.flags = 0,
|
.flags = 0,
|
||||||
@ -1036,7 +1036,7 @@ static struct v4l2_queryctrl saa7115_qctrl[] = {
|
|||||||
.type = V4L2_CTRL_TYPE_INTEGER,
|
.type = V4L2_CTRL_TYPE_INTEGER,
|
||||||
.name = "Saturation",
|
.name = "Saturation",
|
||||||
.minimum = 0,
|
.minimum = 0,
|
||||||
.maximum = 255,
|
.maximum = 127,
|
||||||
.step = 1,
|
.step = 1,
|
||||||
.default_value = 64,
|
.default_value = 64,
|
||||||
.flags = 0,
|
.flags = 0,
|
||||||
|
Loading…
Reference in New Issue
Block a user