aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/saa7134/saa7134-video.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/saa7134/saa7134-video.c')
-rw-r--r--drivers/media/video/saa7134/saa7134-video.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/media/video/saa7134/saa7134-video.c b/drivers/media/video/saa7134/saa7134-video.c
index f2cb63053041..e1cb273e16bc 100644
--- a/drivers/media/video/saa7134/saa7134-video.c
+++ b/drivers/media/video/saa7134/saa7134-video.c
@@ -603,7 +603,14 @@ static void set_tvnorm(struct saa7134_dev *dev, struct saa7134_tvnorm *norm)
603 saa_writeb(SAA7134_RAW_DATA_GAIN, 0x40); 603 saa_writeb(SAA7134_RAW_DATA_GAIN, 0x40);
604 saa_writeb(SAA7134_RAW_DATA_OFFSET, 0x80); 604 saa_writeb(SAA7134_RAW_DATA_OFFSET, 0x80);
605 605
606 saa7134_i2c_call_clients(dev,VIDIOC_S_STD,&norm->id); 606 /* only tell the tuner if this is a tv input */
607 if (card_in(dev,dev->ctl_input).tv) {
608 if ((card(dev).tuner_type == TUNER_PHILIPS_TDA8290)
609 && ((card(dev).tuner_config == 1)
610 || (card(dev).tuner_config == 2)))
611 saa7134_set_gpio(dev, 22, 5);
612 saa7134_i2c_call_clients(dev,VIDIOC_S_STD,&norm->id);
613 }
607} 614}
608 615
609static void video_mux(struct saa7134_dev *dev, int input) 616static void video_mux(struct saa7134_dev *dev, int input)