Commit 75bc8019 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

V4L/DVB (3643): Fix default values for tvp5150 controls

Default values were wrong. Fixing it.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 4263fa8c
...@@ -53,7 +53,7 @@ static struct v4l2_queryctrl tvp5150_qctrl[] = { ...@@ -53,7 +53,7 @@ static struct v4l2_queryctrl tvp5150_qctrl[] = {
.minimum = 0, .minimum = 0,
.maximum = 255, .maximum = 255,
.step = 1, .step = 1,
.default_value = 0, .default_value = 128,
.flags = 0, .flags = 0,
}, { }, {
.id = V4L2_CID_CONTRAST, .id = V4L2_CID_CONTRAST,
...@@ -62,7 +62,7 @@ static struct v4l2_queryctrl tvp5150_qctrl[] = { ...@@ -62,7 +62,7 @@ static struct v4l2_queryctrl tvp5150_qctrl[] = {
.minimum = 0, .minimum = 0,
.maximum = 255, .maximum = 255,
.step = 0x1, .step = 0x1,
.default_value = 0x10, .default_value = 128,
.flags = 0, .flags = 0,
}, { }, {
.id = V4L2_CID_SATURATION, .id = V4L2_CID_SATURATION,
...@@ -71,7 +71,7 @@ static struct v4l2_queryctrl tvp5150_qctrl[] = { ...@@ -71,7 +71,7 @@ static struct v4l2_queryctrl tvp5150_qctrl[] = {
.minimum = 0, .minimum = 0,
.maximum = 255, .maximum = 255,
.step = 0x1, .step = 0x1,
.default_value = 0x10, .default_value = 128,
.flags = 0, .flags = 0,
}, { }, {
.id = V4L2_CID_HUE, .id = V4L2_CID_HUE,
...@@ -80,7 +80,7 @@ static struct v4l2_queryctrl tvp5150_qctrl[] = { ...@@ -80,7 +80,7 @@ static struct v4l2_queryctrl tvp5150_qctrl[] = {
.minimum = -128, .minimum = -128,
.maximum = 127, .maximum = 127,
.step = 0x1, .step = 0x1,
.default_value = 0x10, .default_value = 0,
.flags = 0, .flags = 0,
} }
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment