diff options
author | Mauro Carvalho Chehab <mchehab@brturbo.com.br> | 2005-11-09 00:37:32 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-09 10:56:18 -0500 |
commit | d5e5265315770bda46c50ecaa64e2b9790f2064c (patch) | |
tree | 5c92fa1125dee3f766bd06f18840ce78bf0cd861 /drivers/media/video/em28xx/em28xx-cards.c | |
parent | da45a2a5b96afd7188c058a55eb2917d6524c0cf (diff) |
[PATCH] v4l: 784: several improvement on i2c ir handling for em2820
- Several Improvement on I2C IR handling for em2820:
- moved Pinnacle IR table (ir_codes_em2820) to em2820-input.c
- IR struct renamed and moved to a header file.
- New file to handle em2820-specific IR.
- Some cleanups.
- attach now detects I2C IR and calls em2820-specific IR code
- IR compat code moved to compat.h
- New header with struct IR_i2c there, to allow it to be
used by board-specific input handlers.
- Some improvements at em28xx board detection:
- Board detection message improved to show interface and class.
- Now it doesn't touch audio interfaces.
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/em28xx/em28xx-cards.c')
-rw-r--r-- | drivers/media/video/em28xx/em28xx-cards.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/em28xx/em28xx-cards.c b/drivers/media/video/em28xx/em28xx-cards.c index 91c70ebd0ea4..919520f89975 100644 --- a/drivers/media/video/em28xx/em28xx-cards.c +++ b/drivers/media/video/em28xx/em28xx-cards.c | |||
@@ -143,7 +143,7 @@ struct em2820_board em2820_boards[] = { | |||
143 | .tuner_type = TUNER_PHILIPS_PAL, | 143 | .tuner_type = TUNER_PHILIPS_PAL, |
144 | .tda9887_conf = TDA9887_PRESENT|TDA9887_PORT1_ACTIVE|TDA9887_PORT2_ACTIVE, | 144 | .tda9887_conf = TDA9887_PRESENT|TDA9887_PORT1_ACTIVE|TDA9887_PORT2_ACTIVE, |
145 | .has_tuner = 1, | 145 | .has_tuner = 1, |
146 | .decoder = EM2820_SAA7114, | 146 | .decoder = EM2820_SAA7114, |
147 | .input = {{ | 147 | .input = {{ |
148 | .type = EM2820_VMUX_TELEVISION, | 148 | .type = EM2820_VMUX_TELEVISION, |
149 | .vmux = 2, | 149 | .vmux = 2, |
@@ -250,6 +250,7 @@ void em2820_card_setup(struct em2820 *dev) | |||
250 | struct tveeprom tv; | 250 | struct tveeprom tv; |
251 | #ifdef CONFIG_MODULES | 251 | #ifdef CONFIG_MODULES |
252 | request_module("tveeprom"); | 252 | request_module("tveeprom"); |
253 | request_module("ir-kbd-i2c"); | ||
253 | #endif | 254 | #endif |
254 | /* Call first TVeeprom */ | 255 | /* Call first TVeeprom */ |
255 | 256 | ||