public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [Patch] v4l cx88 hue offset fix
@ 2005-08-02  7:20 Horms
  2005-08-02 12:41 ` Michael Krufky
  2005-08-03  5:03 ` Horms
  0 siblings, 2 replies; 4+ messages in thread
From: Horms @ 2005-08-02  7:20 UTC (permalink / raw)
  To: Marcelo Tosatti
  Cc: Michael Krufky, Mauro Carvalho Chehab, Chris Wright,
	Greg Kroah-Hartman, debian-kernel, linux-kernel

Hi Marcelo, 

Another fix from 2.6.12.3 that seems approprite for 2.4.
Should apply cleanly to your tree.

Signed-off-by: Horms <horms@verge.net.au>

From: Michael Krufky <mkrufky@m1k.net>
Date: Thu, 30 Jun 2005 20:06:41 +0000 (-0400)
Subject: [PATCH] v4l cx88 hue offset fix
X-Git-Tag: v2.6.12.3
X-Git-Url: http://www.kernel.org/git/?p=linux/kernel/git/gregkh/linux-2.6.12.y.git;a=commitdiff;h=aebaaf4060dd0db163694da8e4ab7ba86add57b9

  [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>
  Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---

Backported to Debian's kernel-source-2.6.8 by dann frazier <dannf@debian.org>

--- 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,

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-08-03 11:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-02  7:20 [Patch] v4l cx88 hue offset fix Horms
2005-08-02 12:41 ` Michael Krufky
2005-08-03 10:40   ` Horms
2005-08-03  5:03 ` Horms

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox