diff options
Diffstat (limited to 'linux/drivers/media/video/tuner-simple.c')
-rw-r--r-- | linux/drivers/media/video/tuner-simple.c | 24 |
1 files changed, 5 insertions, 19 deletions
diff --git a/linux/drivers/media/video/tuner-simple.c b/linux/drivers/media/video/tuner-simple.c index e33ae6ebe..a43ac3553 100644 --- a/linux/drivers/media/video/tuner-simple.c +++ b/linux/drivers/media/video/tuner-simple.c @@ -1,5 +1,5 @@ /* - * $Id: tuner-simple.c,v 1.19 2005/06/07 19:00:38 nsh Exp $ + * $Id: tuner-simple.c,v 1.20 2005/06/08 01:28:09 mchehab Exp $ * * i2c tv tuner chip device driver * controls all those simple 4-control-bytes style tuners. @@ -222,6 +222,10 @@ static struct tunertype tuners[] = { 16*157.25,16*454.00,0x39,0x3a,0x3c,0x8e,732}, { "Tena TNF9533-D/IF", LGINNOTEK, PAL, 16*160.25, 16*464.25, 0x01,0x02,0x08,0x8e,623}, + + /* This entry is for TEA5767 FM radio only chip used on several boards w/TV tuner */ + { TEA5767_TUNER_NAME, Philips, RADIO, + -1, -1, 0, 0, 0, TEA5767_LOW_LO_32768,0}, }; unsigned const int tuner_count = ARRAY_SIZE(tuners); @@ -474,24 +478,6 @@ int default_tuner_init(struct i2c_client *c) { struct tuner *t = i2c_get_clientdata(c); - switch (t->type) { - case TUNER_YMEC_TVF_5533MF: - { - struct tuner_addr tun_addr = { V4L2_TUNER_ANALOG_TV, 0xc2>>1 }; - - if (c->driver->command) { - c->driver->command(c, TUNER_SET_ADDR, &tun_addr); - if (c->addr==0xC0>>1) { - tea5767_tuner_init(c); - return (0); - } - } else { - tuner_warn("Couldn't set TV tuner I2C address to 0x%02x\n",tun_addr.addr<<1); - } - break; - } - } - tuner_info("type set to %d (%s)\n", t->type, tuners[t->type].name); strlcpy(c->name, tuners[t->type].name, sizeof(c->name)); |