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:31 -0400 |
commit | de956c1e0f89413a3837b642d592e2dff3e3eb78 (patch) | |
tree | 71f803d3854d497e63dbe728695250b16c0e0b18 /drivers/media/video/saa7134/saa7134-cards.c | |
parent | b8195946228c749702dfe5995b98516ea4b04cdc (diff) |
V4L/DVB (5313): Added a config entry and a gpio function pointer to tuner struct
These entries mainly are to support configurations of the tda827x
silicon tuner with a preamplifier.
The values can be set throgh the attach inform or through
the extended TUNER_SET_TYPE_ADDR client call. The function pointer
will only be updated if the parameter is not NULL.
Since a typecast is necessary to set the pointer, i added a typedef for
this pointer (tuner_gpio_func_t) in tuner.h
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-cards.c')
-rw-r--r-- | drivers/media/video/saa7134/saa7134-cards.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/saa7134/saa7134-cards.c b/drivers/media/video/saa7134/saa7134-cards.c index 89f32107f46b..4399d1371cc1 100644 --- a/drivers/media/video/saa7134/saa7134-cards.c +++ b/drivers/media/video/saa7134/saa7134-cards.c | |||
@@ -2543,11 +2543,12 @@ struct saa7134_board saa7134_boards[] = { | |||
2543 | .name = "Philips Tiger reference design", | 2543 | .name = "Philips Tiger reference design", |
2544 | .audio_clock = 0x00187de7, | 2544 | .audio_clock = 0x00187de7, |
2545 | .tuner_type = TUNER_PHILIPS_TDA8290, | 2545 | .tuner_type = TUNER_PHILIPS_TDA8290, |
2546 | .tuner_config = 0, | ||
2546 | .radio_type = UNSET, | 2547 | .radio_type = UNSET, |
2547 | .tuner_addr = ADDR_UNSET, | 2548 | .tuner_addr = ADDR_UNSET, |
2548 | .radio_addr = ADDR_UNSET, | 2549 | .radio_addr = ADDR_UNSET, |
2549 | .mpeg = SAA7134_MPEG_DVB, | 2550 | .mpeg = SAA7134_MPEG_DVB, |
2550 | .gpiomask = 1 << 21, | 2551 | .gpiomask = 0x0200000, |
2551 | .inputs = {{ | 2552 | .inputs = {{ |
2552 | .name = name_tv, | 2553 | .name = name_tv, |
2553 | .vmux = 1, | 2554 | .vmux = 1, |