]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
V4L/DVB (3643): Fix default values for tvp5150 controls
authorMauro Carvalho Chehab <mchehab@infradead.org>
Tue, 28 Mar 2006 13:02:28 +0000 (10:02 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 2 Apr 2006 07:55:17 +0000 (04:55 -0300)
Default values were wrong. Fixing it.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/tvp5150.c

index 69d0fe159f4dc02e461ab8aa1c145098d68b7644..d4f4ef3323e8321e8ff0d2ff8b5efb8bb0df8798 100644 (file)
@@ -53,7 +53,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,
@@ -62,7 +62,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,
@@ -71,7 +71,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,
@@ -80,7 +80,7 @@ static struct v4l2_queryctrl tvp5150_qctrl[] = {
                .minimum = -128,
                .maximum = 127,
                .step = 0x1,
-               .default_value = 0x10,
+               .default_value = 0,
                .flags = 0,
        }
 };