summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/tvp5150.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-03-28 10:02:28 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-03-28 10:02:28 -0300
commit51f36ae06143e1dd3b668635d02831f0e3d617f9 (patch)
tree4de9cd2ab7f1420f3f6fa8e6953fd8a1ff8c8a85 /linux/drivers/media/video/tvp5150.c
parent4eebc35e388d275870454a6d509fefd629e98d98 (diff)
downloadmediapointer-dvb-s2-51f36ae06143e1dd3b668635d02831f0e3d617f9.tar.gz
mediapointer-dvb-s2-51f36ae06143e1dd3b668635d02831f0e3d617f9.tar.bz2
Fix default values for tvp5150 controls
From: Mauro Carvalho Chehab <mchehab@infradead.org> Default values were wrong. Fixing it. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/tvp5150.c')
-rw-r--r--linux/drivers/media/video/tvp5150.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/linux/drivers/media/video/tvp5150.c b/linux/drivers/media/video/tvp5150.c
index 571ed11dd..8a6c5c0d0 100644
--- a/linux/drivers/media/video/tvp5150.c
+++ b/linux/drivers/media/video/tvp5150.c
@@ -80,7 +80,7 @@ static struct v4l2_queryctrl tvp5150_qctrl[] = {
.minimum = 0,
.maximum = 255,
.step = 1,
- .default_value = 0,
+ .default_value = 128,
.flags = 0,
}, {
.id = V4L2_CID_CONTRAST,
@@ -89,7 +89,7 @@ static struct v4l2_queryctrl tvp5150_qctrl[] = {
.minimum = 0,
.maximum = 255,
.step = 0x1,
- .default_value = 0x10,
+ .default_value = 128,
.flags = 0,
}, {
.id = V4L2_CID_SATURATION,
@@ -98,7 +98,7 @@ static struct v4l2_queryctrl tvp5150_qctrl[] = {
.minimum = 0,
.maximum = 255,
.step = 0x1,
- .default_value = 0x10,
+ .default_value = 128,
.flags = 0,
}, {
.id = V4L2_CID_HUE,
@@ -107,7 +107,7 @@ static struct v4l2_queryctrl tvp5150_qctrl[] = {
.minimum = -128,
.maximum = 127,
.step = 0x1,
- .default_value = 0x10,
+ .default_value = 0,
.flags = 0,
}
};