diff options
author | Mauro Carvalho Chehab <mchehab@brturbo.com.br> | 2005-07-12 16:58:55 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-12 19:01:06 -0400 |
commit | f7ce3cc67052de63a29bad90110640b687d12058 (patch) | |
tree | f3978eb08434d0e87b2467949bd22513c3535416 /drivers/media/video/mt20xx.c | |
parent | ebe4c6fa535b0410e58e9c8352320896d07e2efb (diff) |
[PATCH] v4l: I2C Tuner
- Fixed a trouble on tuner-core that generates erros on computers with more
than one TV card.
- Rename tuner structures fields.
- Tail spaces removed.
- I2C cleanups and converged to a basic reference structure.
- Removed unused structures.
- Fix setting frequency on tda8290.
- Added code for TEA5767 autodetection.
- Standby mode support implemented. It is used to disable
a non used tuner. Currenlty implemented on tea5767.
- New macro: set_type disables other tuner when changing mode.
- Some cleanups.
- Use 50 kHz step when tunning radio for most tuners to improve precision.
Signed-off-by: Fabien Perrot <perrot1983@yahoo.fr>
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-By: Nickolay V. Shmyrev <nshmyrev@yandex.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/media/video/mt20xx.c')
-rw-r--r-- | drivers/media/video/mt20xx.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/drivers/media/video/mt20xx.c b/drivers/media/video/mt20xx.c index 9c005cb128d7..2fb7c2d1787a 100644 --- a/drivers/media/video/mt20xx.c +++ b/drivers/media/video/mt20xx.c | |||
@@ -511,22 +511,6 @@ int microtune_init(struct i2c_client *c) | |||
511 | tuner_info("microtune: companycode=%04x part=%02x rev=%02x\n", | 511 | tuner_info("microtune: companycode=%04x part=%02x rev=%02x\n", |
512 | company_code,buf[0x13],buf[0x14]); | 512 | company_code,buf[0x13],buf[0x14]); |
513 | 513 | ||
514 | #if 0 | ||
515 | /* seems to cause more problems than it solves ... */ | ||
516 | switch (company_code) { | ||
517 | case 0x30bf: | ||
518 | case 0x3cbf: | ||
519 | case 0x3dbf: | ||
520 | case 0x4d54: | ||
521 | case 0x8e81: | ||
522 | case 0x8e91: | ||
523 | /* ok (?) */ | ||
524 | break; | ||
525 | default: | ||
526 | tuner_warn("tuner: microtune: unknown companycode\n"); | ||
527 | return 0; | ||
528 | } | ||
529 | #endif | ||
530 | 514 | ||
531 | if (buf[0x13] < ARRAY_SIZE(microtune_part) && | 515 | if (buf[0x13] < ARRAY_SIZE(microtune_part) && |
532 | NULL != microtune_part[buf[0x13]]) | 516 | NULL != microtune_part[buf[0x13]]) |