All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] TDA9887 PAL-Nc fix
@ 2012-04-18 12:22 Gonzalo de la Vega
  2012-04-19 23:50 ` Andy Walls
  0 siblings, 1 reply; 6+ messages in thread
From: Gonzalo de la Vega @ 2012-04-18 12:22 UTC (permalink / raw)
  To: linux-media

The tunner IF for PAL-Nc norm, which AFAIK is used only in Argentina, was being defined as equal to PAL-M but it is not. It actually uses the same video IF as PAL-BG (and unlike PAL-M) but the audio is at 4.5MHz (same as PAL-M). A separate structure member was added for PAL-Nc.

Signed-off-by: Gonzalo A. de la Vega <gadelavega@gmail.com>


diff --git a/drivers/media/common/tuners/tda9887.c b/drivers/media/common/tuners/tda9887.c
index cdb645d..b560b5d 100644
--- a/drivers/media/common/tuners/tda9887.c
+++ b/drivers/media/common/tuners/tda9887.c
@@ -168,8 +168,8 @@ static struct tvnorm tvnorms[] = {
 			   cAudioIF_6_5   |
 			   cVideoIF_38_90 ),
 	},{
-		.std   = V4L2_STD_PAL_M | V4L2_STD_PAL_Nc,
-		.name  = "PAL-M/Nc",
+		.std   = V4L2_STD_PAL_M,
+		.name  = "PAL-M",
 		.b     = ( cNegativeFmTV  |
 			   cQSS           ),
 		.c     = ( cDeemphasisON  |
@@ -179,6 +179,17 @@ static struct tvnorm tvnorms[] = {
 			   cAudioIF_4_5   |
 			   cVideoIF_45_75 ),
 	},{
+		.std   = V4L2_STD_PAL_Nc,
+		.name  = "PAL-Nc",
+		.b     = ( cNegativeFmTV  |
+			   cQSS           ),
+		.c     = ( cDeemphasisON  |
+			   cDeemphasis75  |
+			   cTopDefault),
+		.e     = ( cGating_36     |
+			   cAudioIF_4_5   |
+			   cVideoIF_38_90 ),
+	},{
 		.std   = V4L2_STD_SECAM_B | V4L2_STD_SECAM_G | V4L2_STD_SECAM_H,
 		.name  = "SECAM-BGH",
 		.b     = ( cNegativeFmTV  |

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

end of thread, other threads:[~2012-04-20 20:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-18 12:22 [PATCH] TDA9887 PAL-Nc fix Gonzalo de la Vega
2012-04-19 23:50 ` Andy Walls
2012-04-20 14:01   ` Gonzalo A. de la Vega
2012-04-20 15:08     ` Mauro Carvalho Chehab
2012-04-20 16:50       ` Ezequiel García
2012-04-20 20:57     ` Andy Walls

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.