From: Michael Krufky Date: Fri, 8 Jul 2005 00:58:38 +0000 (-0700) Subject: [PATCH] v4l: cx88 hue offset fix X-Git-Tag: v2.6.13-rc3~151 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=9ac4c158b0090462bc356b934024cf0c5d7c8526;p=linux-2.6-omap-h63xx.git [PATCH] v4l: cx88 hue offset fix 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 Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/media/video/cx88/cx88-video.c b/drivers/media/video/cx88/cx88-video.c index cd5c2615d8c..dc997549b63 100644 --- a/drivers/media/video/cx88/cx88-video.c +++ b/drivers/media/video/cx88/cx88-video.c @@ -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,