From: matthieu castet <castet.matthieu@free.fr>
To: Linux and Kernel Video <video4linux-list@redhat.com>,
Mauro Carvalho Chehab <mchehab@infradead.org>,
Linux Kernel list <linux-kernel@vger.kernel.org>
Subject: PATCH : tuner-simple.c add suport for SECAM-BG with FI1216MF
Date: Sat, 05 May 2007 14:45:00 +0200 [thread overview]
Message-ID: <463C7C4C.60208@free.fr> (raw)
[-- Attachment #1: Type: text/plain, Size: 75 bytes --]
Hi,
this patch allow to use SECAM-BG with the FI1216MF tuner.
Matthieu
[-- Attachment #2: FI1216MF_secam_bg --]
[-- Type: text/plain, Size: 1021 bytes --]
allow to use SECAM-BG with the FI1216MF tuner.
The selection is done with the secam=B module argument.
The default behaviour should be the same as before.
Signed-off-by: Matthieu CASTET <castet.matthieu@free.fr>
Index: linux-2.6.21/drivers/media/video/tuner-simple.c
===================================================================
--- linux-2.6.21.orig/drivers/media/video/tuner-simple.c 2007-05-05 14:21:56.000000000 +0200
+++ linux-2.6.21/drivers/media/video/tuner-simple.c 2007-05-05 14:33:58.000000000 +0200
@@ -205,9 +205,13 @@
/* 0x01 -> ??? no change ??? */
/* 0x02 -> PAL BDGHI / SECAM L */
/* 0x04 -> ??? PAL others / SECAM others ??? */
- cb &= ~0x02;
- if (t->std & V4L2_STD_SECAM)
- cb |= 0x02;
+ cb &= ~0x03;
+ if (t->std & V4L2_STD_SECAM_L) //also valid for V4L2_STD_SECAM
+ cb |= PHILIPS_MF_SET_PAL_L;
+ else if (t->std & V4L2_STD_SECAM_LC)
+ cb |= PHILIPS_MF_SET_PAL_L2;
+ else /* V4L2_STD_B|V4L2_STD_GH */
+ cb |= PHILIPS_MF_SET_BG;
break;
case TUNER_TEMIC_4046FM5:
reply other threads:[~2007-05-05 16:24 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=463C7C4C.60208@free.fr \
--to=castet.matthieu@free.fr \
--cc=linux-kernel@vger.kernel.org \
--cc=mchehab@infradead.org \
--cc=video4linux-list@redhat.com \
/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 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.