Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2175771e authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (3354): Fix maximum for the saturation and contrast controls.

parent 27b547c3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -567,7 +567,7 @@ static struct v4l2_queryctrl cx25840_qctrl[] = {
		.type          = V4L2_CTRL_TYPE_INTEGER,
		.name          = "Contrast",
		.minimum       = 0,
		.maximum       = 255,
		.maximum       = 127,
		.step          = 1,
		.default_value = 64,
		.flags         = 0,
@@ -576,7 +576,7 @@ static struct v4l2_queryctrl cx25840_qctrl[] = {
		.type          = V4L2_CTRL_TYPE_INTEGER,
		.name          = "Saturation",
		.minimum       = 0,
		.maximum       = 255,
		.maximum       = 127,
		.step          = 1,
		.default_value = 64,
		.flags         = 0,
+2 −2
Original line number Diff line number Diff line
@@ -1027,7 +1027,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,
@@ -1036,7 +1036,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,