diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-11-05 07:30:39 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-25 16:02:02 -0500 |
commit | 98ae127cae56b99f2282d73399e0e1ca7dc13bc9 (patch) | |
tree | e86baafd55ad73c8eb4dda31214c80f54e5042bc | |
parent | 80b522085a2c870ba0c0bdf2415cc925d7c86ca5 (diff) |
V4L/DVB (6562): Make HVR900 to use also tveeprom
Hauppauge firmwares can be decoded using tveeprom. This patch adds HVR-900 as
a tveeprom client. It also adds xc3028 tuner entry to tveeprom.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r-- | drivers/media/video/em28xx/em28xx-cards.c | 8 | ||||
-rw-r--r-- | drivers/media/video/tveeprom.c | 2 |
2 files changed, 8 insertions, 2 deletions
diff --git a/drivers/media/video/em28xx/em28xx-cards.c b/drivers/media/video/em28xx/em28xx-cards.c index b1afc6c2d372..a2c0794821ba 100644 --- a/drivers/media/video/em28xx/em28xx-cards.c +++ b/drivers/media/video/em28xx/em28xx-cards.c | |||
@@ -587,11 +587,11 @@ void em28xx_card_setup(struct em28xx *dev) | |||
587 | /* request some modules */ | 587 | /* request some modules */ |
588 | switch (dev->model) { | 588 | switch (dev->model) { |
589 | case EM2820_BOARD_HAUPPAUGE_WINTV_USB_2: | 589 | case EM2820_BOARD_HAUPPAUGE_WINTV_USB_2: |
590 | case EM2880_BOARD_HAUPPAUGE_WINTV_HVR_900: | ||
590 | { | 591 | { |
591 | struct tveeprom tv; | 592 | struct tveeprom tv; |
592 | #ifdef CONFIG_MODULES | 593 | #ifdef CONFIG_MODULES |
593 | request_module("tveeprom"); | 594 | request_module("tveeprom"); |
594 | request_module("ir-kbd-i2c"); | ||
595 | #endif | 595 | #endif |
596 | /* Call first TVeeprom */ | 596 | /* Call first TVeeprom */ |
597 | 597 | ||
@@ -603,6 +603,12 @@ void em28xx_card_setup(struct em28xx *dev) | |||
603 | dev->i2s_speed = 2048000; | 603 | dev->i2s_speed = 2048000; |
604 | dev->has_msp34xx = 1; | 604 | dev->has_msp34xx = 1; |
605 | } | 605 | } |
606 | #ifdef CONFIG_MODULES | ||
607 | if (tv.has_ir) | ||
608 | request_module("ir-kbd-i2c"); | ||
609 | #endif | ||
610 | /* FIXME: Should also retrieve decoder processor type */ | ||
611 | |||
606 | break; | 612 | break; |
607 | } | 613 | } |
608 | case EM2820_BOARD_KWORLD_PVRTV2800RF: | 614 | case EM2820_BOARD_KWORLD_PVRTV2800RF: |
diff --git a/drivers/media/video/tveeprom.c b/drivers/media/video/tveeprom.c index 0faa14992353..403fbd0afa3f 100644 --- a/drivers/media/video/tveeprom.c +++ b/drivers/media/video/tveeprom.c | |||
@@ -226,7 +226,7 @@ hauppauge_tuner[] = | |||
226 | { TUNER_ABSENT, "TCL M2523_3DI_E"}, | 226 | { TUNER_ABSENT, "TCL M2523_3DI_E"}, |
227 | { TUNER_ABSENT, "Samsung THPD5222FG30A"}, | 227 | { TUNER_ABSENT, "Samsung THPD5222FG30A"}, |
228 | /* 120-129 */ | 228 | /* 120-129 */ |
229 | { TUNER_ABSENT, "Xceive XC3028"}, | 229 | { TUNER_XC2028, "Xceive XC3028"}, |
230 | { TUNER_ABSENT, "Philips FQ1216LME MK5"}, | 230 | { TUNER_ABSENT, "Philips FQ1216LME MK5"}, |
231 | { TUNER_ABSENT, "Philips FQD1216LME"}, | 231 | { TUNER_ABSENT, "Philips FQD1216LME"}, |
232 | { TUNER_ABSENT, "Conexant CX24118A"}, | 232 | { TUNER_ABSENT, "Conexant CX24118A"}, |