From 4e2bbf2157a15f4c35afb08b8e2549727775eef1 Mon Sep 17 00:00:00 2001 From: Chris Wright Date: Thu, 30 Jun 2005 14:08:51 -0700 Subject: [PATCH] Add cx88 hue fix from Michael Krufky --- queue/series | 1 + ...rivial-v4l-cx88-video-hue-offset-fix.patch | 31 +++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 queue/trivial-v4l-cx88-video-hue-offset-fix.patch diff --git a/queue/series b/queue/series index ab8ba34ed25..bb56ee6c33e 100644 --- a/queue/series +++ b/queue/series @@ -1 +1,2 @@ netfilter-connection-tracking.patch +trivial-v4l-cx88-video-hue-offset-fix.patch diff --git a/queue/trivial-v4l-cx88-video-hue-offset-fix.patch b/queue/trivial-v4l-cx88-video-hue-offset-fix.patch new file mode 100644 index 00000000000..d1efa759428 --- /dev/null +++ b/queue/trivial-v4l-cx88-video-hue-offset-fix.patch @@ -0,0 +1,31 @@ +From stable-bounces@linux.kernel.org Thu Jun 30 13:07:17 2005 +Date: Thu, 30 Jun 2005 16:06:41 -0400 +From: Michael Krufky +To: stable@kernel.org +Subject: [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: Chris Wright +--- + + cx88-video.c | 2 +- + 1 files changed, 1 insertion(+), 1 deletion(-) + +diff -upr linux-2.6.12.2/drivers/media/video/cx88/cx88-video.c linux/drivers/media/video/cx88/cx88-video.c +--- linux-2.6.12.2/drivers/media/video/cx88/cx88-video.c 2005-06-17 15:48:29.000000000 -0400 ++++ linux/drivers/media/video/cx88/cx88-video.c 2005-06-30 11:47:49.000000000 -0400 +@@ -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, + -- 2.47.3