aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/ivtv
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2007-07-20 05:26:34 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-10-09 21:02:54 -0400
commitbaa05e4b454fa7d87f9a41a4bbc1f749c113ff3a (patch)
treebced3c9b276e02e4f1bfb7c473045e6319a9b916 /drivers/media/video/ivtv
parenta5e90862114124d79e1a3f34641b00fec51d1806 (diff)
V4L/DVB (5881): ivtv: init channel for NTSC_M_JP standard.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/ivtv')
-rw-r--r--drivers/media/video/ivtv/ivtv-driver.c9
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 d73d433a4ff..622af634104 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,
1154 vf.tuner = 0; 1154 vf.tuner = 0;
1155 vf.type = V4L2_TUNER_ANALOG_TV; 1155 vf.type = V4L2_TUNER_ANALOG_TV;
1156 vf.frequency = 6400; /* the tuner 'baseline' frequency */ 1156 vf.frequency = 6400; /* the tuner 'baseline' frequency */
1157 if (itv->std & V4L2_STD_NTSC_M) { 1157
1158 /* Why on earth? */ 1158 /* Set initial frequency. For PAL/SECAM broadcasts no
1159 'default' channel exists AFAIK. */
1160 if (itv->std == V4L2_STD_NTSC_M_JP) {
1161 vf.frequency = 1460; /* ch. 1 91250*16/1000 */
1162 }
1163 else if (itv->std & V4L2_STD_NTSC_M) {
1159 vf.frequency = 1076; /* ch. 4 67250*16/1000 */ 1164 vf.frequency = 1076; /* ch. 4 67250*16/1000 */
1160 } 1165 }
1161 1166