aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@m1k.net>2005-07-07 20:58:38 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-07 21:24:03 -0400
commit9ac4c158b0090462bc356b934024cf0c5d7c8526 (patch)
tree2a398384b922a0c4c60ff76e3cbe066e4b5f576f
parenta82decf64d34e79a0cc622997866c754350f18f8 (diff)
[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 <mkrufky@m1k.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--drivers/media/video/cx88/cx88-video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/cx88/cx88-video.c b/drivers/media/video/cx88/cx88-video.c
index cd5c2615d8c5..dc997549b634 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[] = {
261 .default_value = 0, 261 .default_value = 0,
262 .type = V4L2_CTRL_TYPE_INTEGER, 262 .type = V4L2_CTRL_TYPE_INTEGER,
263 }, 263 },
264 .off = 0, 264 .off = 128,
265 .reg = MO_HUE, 265 .reg = MO_HUE,
266 .mask = 0x00ff, 266 .mask = 0x00ff,
267 .shift = 0, 267 .shift = 0,