]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
[PATCH] v4l cx88 hue offset fix
authorMichael Krufky <mkrufky@m1k.net>
Thu, 30 Jun 2005 20:06:41 +0000 (16:06 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 15 Jul 2005 21:15:26 +0000 (14:15 -0700)
Changed hue offset to 128 to correct behavior in cx88 cards.  Previously,
setting 0% or 100% hue was required to avoid blue/green people on screen.
Now, 50% Hue means no offset, just like bt878 stuff.

Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/media/video/cx88/cx88-video.c

index d1f5c92f0ce578c123a59dde9aa9234b6e51f2e8..d650a2fe4e89cd99bed733aff8c5cafecd6524ad 100644 (file)
@@ -261,7 +261,7 @@ static struct cx88_ctrl cx8800_ctls[] = {
                        .default_value = 0,
                        .type          = V4L2_CTRL_TYPE_INTEGER,
                },
-               .off                   = 0,
+               .off                   = 128,
                .reg                   = MO_HUE,
                .mask                  = 0x00ff,
                .shift                 = 0,