Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=baa05e4b454fa7d87f9a41a4bbc1f749c113ff3a
Commit:     baa05e4b454fa7d87f9a41a4bbc1f749c113ff3a
Parent:     a5e90862114124d79e1a3f34641b00fec51d1806
Author:     Hans Verkuil <[EMAIL PROTECTED]>
AuthorDate: Fri Jul 20 06:26:34 2007 -0300
Committer:  Mauro Carvalho Chehab <[EMAIL PROTECTED]>
CommitDate: Tue Oct 9 22:02:54 2007 -0300

    V4L/DVB (5881): ivtv: init channel for NTSC_M_JP standard.
    
    Signed-off-by: Hans Verkuil <[EMAIL PROTECTED]>
    Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]>
---
 drivers/media/video/ivtv/ivtv-driver.c |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/drivers/media/video/ivtv/ivtv-driver.c 
b/drivers/media/video/ivtv/ivtv-driver.c
index d73d433..622af63 100644
--- a/drivers/media/video/ivtv/ivtv-driver.c
+++ b/drivers/media/video/ivtv/ivtv-driver.c
@@ -1154,8 +1154,13 @@ static int __devinit ivtv_probe(struct pci_dev *dev,
        vf.tuner = 0;
        vf.type = V4L2_TUNER_ANALOG_TV;
        vf.frequency = 6400; /* the tuner 'baseline' frequency */
-       if (itv->std & V4L2_STD_NTSC_M) {
-               /* Why on earth? */
+
+       /* Set initial frequency. For PAL/SECAM broadcasts no
+          'default' channel exists AFAIK. */
+       if (itv->std == V4L2_STD_NTSC_M_JP) {
+               vf.frequency = 1460;    /* ch. 1 91250*16/1000 */
+       }
+       else if (itv->std & V4L2_STD_NTSC_M) {
                vf.frequency = 1076;    /* ch. 4 67250*16/1000 */
        }
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to