aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2007-08-19 04:09:37 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-10-09 21:05:40 -0400
commit2ce55b606b29c6ab0c8583772f6807b49cc89372 (patch)
tree9486440572b294b32dc41fe24f96f0e48419a8ed /drivers
parent8267761881d6bb91c168ba4d629b778cf106c485 (diff)
V4L/DVB (6053): ivtv: setup TV output standard on init to prevent flicker
The TV output standard was set only on first use, which meant that the saa7127 was set to NTSC until then, leading to flickering on PAL systems. Since the saa7127 has no firmware it is OK to initialize it immediately. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/ivtv/ivtv-driver.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/video/ivtv/ivtv-driver.c b/drivers/media/video/ivtv/ivtv-driver.c
index 198e443e8a5e..8086c62e7545 100644
--- a/drivers/media/video/ivtv/ivtv-driver.c
+++ b/drivers/media/video/ivtv/ivtv-driver.c
@@ -1145,6 +1145,10 @@ static int __devinit ivtv_probe(struct pci_dev *dev,
1145 are not. */ 1145 are not. */
1146 itv->tuner_std = itv->std; 1146 itv->tuner_std = itv->std;
1147 1147
1148 if (itv->v4l2_cap & V4L2_CAP_VIDEO_OUTPUT) {
1149 ivtv_call_i2c_clients(itv, VIDIOC_INT_S_STD_OUTPUT, &itv->std);
1150 }
1151
1148 retval = ivtv_streams_setup(itv); 1152 retval = ivtv_streams_setup(itv);
1149 if (retval) { 1153 if (retval) {
1150 IVTV_ERR("Error %d setting up streams\n", retval); 1154 IVTV_ERR("Error %d setting up streams\n", retval);