diff options
Diffstat (limited to 'drivers/media/video/em28xx')
-rw-r--r-- | drivers/media/video/em28xx/em28xx-cards.c | 3 | ||||
-rw-r--r-- | drivers/media/video/em28xx/em28xx-input.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/drivers/media/video/em28xx/em28xx-cards.c b/drivers/media/video/em28xx/em28xx-cards.c index 20a7e24de6fb..862c6575c557 100644 --- a/drivers/media/video/em28xx/em28xx-cards.c +++ b/drivers/media/video/em28xx/em28xx-cards.c | |||
@@ -974,6 +974,7 @@ struct em28xx_board em28xx_boards[] = { | |||
974 | [EM2884_BOARD_CINERGY_HTC_STICK] = { | 974 | [EM2884_BOARD_CINERGY_HTC_STICK] = { |
975 | .name = "Terratec Cinergy HTC Stick", | 975 | .name = "Terratec Cinergy HTC Stick", |
976 | .has_dvb = 1, | 976 | .has_dvb = 1, |
977 | .ir_codes = RC_MAP_NEC_TERRATEC_CINERGY_XS, | ||
977 | #if 0 | 978 | #if 0 |
978 | .tuner_type = TUNER_PHILIPS_TDA8290, | 979 | .tuner_type = TUNER_PHILIPS_TDA8290, |
979 | .tuner_addr = 0x41, | 980 | .tuner_addr = 0x41, |
@@ -2892,7 +2893,7 @@ static void request_module_async(struct work_struct *work) | |||
2892 | 2893 | ||
2893 | if (dev->board.has_dvb) | 2894 | if (dev->board.has_dvb) |
2894 | request_module("em28xx-dvb"); | 2895 | request_module("em28xx-dvb"); |
2895 | if (dev->board.has_ir_i2c && !disable_ir) | 2896 | if (dev->board.ir_codes && !disable_ir) |
2896 | request_module("em28xx-rc"); | 2897 | request_module("em28xx-rc"); |
2897 | } | 2898 | } |
2898 | 2899 | ||
diff --git a/drivers/media/video/em28xx/em28xx-input.c b/drivers/media/video/em28xx/em28xx-input.c index fce5f7680c99..5e30c4f3f248 100644 --- a/drivers/media/video/em28xx/em28xx-input.c +++ b/drivers/media/video/em28xx/em28xx-input.c | |||
@@ -527,6 +527,8 @@ static int em28xx_ir_init(struct em28xx *dev) | |||
527 | 527 | ||
528 | if (dev->board.ir_codes == NULL) { | 528 | if (dev->board.ir_codes == NULL) { |
529 | /* No remote control support */ | 529 | /* No remote control support */ |
530 | em28xx_warn("Remote control support is not available for " | ||
531 | "this card.\n"); | ||
530 | return 0; | 532 | return 0; |
531 | } | 533 | } |
532 | 534 | ||