]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
Add cx88 hue fix from Michael Krufky
authorChris Wright <chrisw@osdl.org>
Thu, 30 Jun 2005 21:08:51 +0000 (14:08 -0700)
committerChris Wright <chrisw@osdl.org>
Thu, 30 Jun 2005 21:08:51 +0000 (14:08 -0700)
queue/series
queue/trivial-v4l-cx88-video-hue-offset-fix.patch [new file with mode: 0644]

index ab8ba34ed25b4cb95691144d49292bbc42fc4351..bb56ee6c33e865dfd2705dcf00ab7ea3c89eaeb2 100644 (file)
@@ -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 (file)
index 0000000..d1efa75
--- /dev/null
@@ -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 <mkrufky@m1k.net>
+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 <mkrufky@m1k.net>
+Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
+Signed-off-by: Chris Wright <chrisw@osdl.org>
+---
+
+ 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,
+