aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/ivtv
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2007-03-13 18:22:40 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-04-27 14:44:46 -0400
commit31a7c549eda6bf0a38d8fc12c903a8535a9f27ca (patch)
tree9d24efcbd501ac7de84b0a46902e75ce08c80f87 /drivers/media/video/ivtv
parentddc285c7632b64fb1ac3ec8f25bcc8abd4a1f727 (diff)
V4L/DVB (5436): Fix TV output initialization
The TV standard should be set AFTER the TV output is fully initialized. 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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/ivtv/ivtv-driver.c b/drivers/media/video/ivtv/ivtv-driver.c
index c7648e2a3a67..8b5597ff3cd7 100644
--- a/drivers/media/video/ivtv/ivtv-driver.c
+++ b/drivers/media/video/ivtv/ivtv-driver.c
@@ -1170,7 +1170,6 @@ static int __devinit ivtv_probe(struct pci_dev *dev,
1170 in one place. */ 1170 in one place. */
1171 itv->std++; /* Force full standard initialization */ 1171 itv->std++; /* Force full standard initialization */
1172 itv->std_out = itv->std; 1172 itv->std_out = itv->std;
1173 ivtv_v4l2_ioctls(itv, NULL, VIDIOC_S_STD, &itv->tuner_std);
1174 ivtv_v4l2_ioctls(itv, NULL, VIDIOC_S_FREQUENCY, &vf); 1173 ivtv_v4l2_ioctls(itv, NULL, VIDIOC_S_FREQUENCY, &vf);
1175 1174
1176 retval = ivtv_streams_setup(itv); 1175 retval = ivtv_streams_setup(itv);
@@ -1182,6 +1181,7 @@ static int __devinit ivtv_probe(struct pci_dev *dev,
1182 if (itv->card->v4l2_capabilities & V4L2_CAP_VIDEO_OUTPUT) { 1181 if (itv->card->v4l2_capabilities & V4L2_CAP_VIDEO_OUTPUT) {
1183 ivtv_init_mpeg_decoder(itv); 1182 ivtv_init_mpeg_decoder(itv);
1184 } 1183 }
1184 ivtv_v4l2_ioctls(itv, NULL, VIDIOC_S_STD, &itv->tuner_std);
1185 1185
1186 IVTV_DEBUG_IRQ("Masking interrupts\n"); 1186 IVTV_DEBUG_IRQ("Masking interrupts\n");
1187 /* clear interrupt mask, effectively disabling interrupts */ 1187 /* clear interrupt mask, effectively disabling interrupts */