diff options
author | Hartmut Hackmann <hartmut.hackmann@t-online.de> | 2007-04-27 11:31:12 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-04-27 14:43:32 -0400 |
commit | 58ef4f924cf2824ae198b1fec3eea1e4059a021c (patch) | |
tree | dc10d767ffc30857a183dacbc4d50a6deacee442 /drivers/media/video/saa7134/saa7134-video.c | |
parent | de956c1e0f89413a3837b642d592e2dff3e3eb78 (diff) |
V4L/DVB (5314): Added support for tda827x tuners with preamlifiers
This patch contains
- new tuning code for the tda827xa silicon tuner.
- controls the preamplifier of some boards with this tuner.
- support for the Philips Tiger S hybrid DVB-T reference design.
- reworked the saa7134-dvb modulue to get rid of most of the
small board specific functions.
Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/saa7134/saa7134-video.c')
-rw-r--r-- | drivers/media/video/saa7134/saa7134-video.c | 9 |
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 | ||
609 | static void video_mux(struct saa7134_dev *dev, int input) | 616 | static void video_mux(struct saa7134_dev *dev, int input) |