From: Gonzalo de la Vega <gadelavega@gmail.com>
To: linux-media@vger.kernel.org
Subject: [PATCH] TDA9887 PAL-Nc fix
Date: Wed, 18 Apr 2012 09:22:09 -0300 [thread overview]
Message-ID: <4F8EB1F1.1030801@gmail.com> (raw)
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 |
next reply other threads:[~2012-04-18 12:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-18 12:22 Gonzalo de la Vega [this message]
2012-04-19 23:50 ` [PATCH] TDA9887 PAL-Nc fix 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F8EB1F1.1030801@gmail.com \
--to=gadelavega@gmail.com \
--cc=linux-media@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).