Commit baa05e4b authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab

V4L/DVB (5881): ivtv: init channel for NTSC_M_JP standard.

Signed-off-by: default avatarHans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent a5e90862
...@@ -1154,8 +1154,13 @@ static int __devinit ivtv_probe(struct pci_dev *dev, ...@@ -1154,8 +1154,13 @@ static int __devinit ivtv_probe(struct pci_dev *dev,
vf.tuner = 0; vf.tuner = 0;
vf.type = V4L2_TUNER_ANALOG_TV; vf.type = V4L2_TUNER_ANALOG_TV;
vf.frequency = 6400; /* the tuner 'baseline' frequency */ 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 */ vf.frequency = 1076; /* ch. 4 67250*16/1000 */
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment