diff options
Diffstat (limited to 'drivers/media/video/bt8xx/bttv-driver.c')
-rw-r--r-- | drivers/media/video/bt8xx/bttv-driver.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/media/video/bt8xx/bttv-driver.c b/drivers/media/video/bt8xx/bttv-driver.c index 3182a406bdd1..cb46e8fa8aaa 100644 --- a/drivers/media/video/bt8xx/bttv-driver.c +++ b/drivers/media/video/bt8xx/bttv-driver.c | |||
@@ -81,6 +81,7 @@ static int video_nr[BTTV_MAX] = { [0 ... (BTTV_MAX-1)] = -1 }; | |||
81 | static int radio_nr[BTTV_MAX] = { [0 ... (BTTV_MAX-1)] = -1 }; | 81 | static int radio_nr[BTTV_MAX] = { [0 ... (BTTV_MAX-1)] = -1 }; |
82 | static int vbi_nr[BTTV_MAX] = { [0 ... (BTTV_MAX-1)] = -1 }; | 82 | static int vbi_nr[BTTV_MAX] = { [0 ... (BTTV_MAX-1)] = -1 }; |
83 | static int debug_latency; | 83 | static int debug_latency; |
84 | static int disable_ir; | ||
84 | 85 | ||
85 | static unsigned int fdsr; | 86 | static unsigned int fdsr; |
86 | 87 | ||
@@ -107,6 +108,7 @@ module_param(bttv_gpio, int, 0644); | |||
107 | module_param(bttv_debug, int, 0644); | 108 | module_param(bttv_debug, int, 0644); |
108 | module_param(irq_debug, int, 0644); | 109 | module_param(irq_debug, int, 0644); |
109 | module_param(debug_latency, int, 0644); | 110 | module_param(debug_latency, int, 0644); |
111 | module_param(disable_ir, int, 0444); | ||
110 | 112 | ||
111 | module_param(fdsr, int, 0444); | 113 | module_param(fdsr, int, 0444); |
112 | module_param(gbuffers, int, 0444); | 114 | module_param(gbuffers, int, 0444); |
@@ -139,6 +141,7 @@ MODULE_PARM_DESC(bttv_verbose,"verbose startup messages, default is 1 (yes)"); | |||
139 | MODULE_PARM_DESC(bttv_gpio,"log gpio changes, default is 0 (no)"); | 141 | MODULE_PARM_DESC(bttv_gpio,"log gpio changes, default is 0 (no)"); |
140 | MODULE_PARM_DESC(bttv_debug,"debug messages, default is 0 (no)"); | 142 | MODULE_PARM_DESC(bttv_debug,"debug messages, default is 0 (no)"); |
141 | MODULE_PARM_DESC(irq_debug,"irq handler debug messages, default is 0 (no)"); | 143 | MODULE_PARM_DESC(irq_debug,"irq handler debug messages, default is 0 (no)"); |
144 | MODULE_PARM_DESC(disable_ir, "disable infrared remote support"); | ||
142 | MODULE_PARM_DESC(gbuffers,"number of capture buffers. range 2-32, default 8"); | 145 | MODULE_PARM_DESC(gbuffers,"number of capture buffers. range 2-32, default 8"); |
143 | MODULE_PARM_DESC(gbufsize,"size of the capture buffers, default is 0x208000"); | 146 | MODULE_PARM_DESC(gbufsize,"size of the capture buffers, default is 0x208000"); |
144 | MODULE_PARM_DESC(reset_crop,"reset cropping parameters at open(), default " | 147 | MODULE_PARM_DESC(reset_crop,"reset cropping parameters at open(), default " |
@@ -4461,7 +4464,10 @@ static int __devinit bttv_probe(struct pci_dev *dev, | |||
4461 | request_modules(btv); | 4464 | request_modules(btv); |
4462 | } | 4465 | } |
4463 | 4466 | ||
4464 | bttv_input_init(btv); | 4467 | if (!disable_ir) { |
4468 | init_bttv_i2c_ir(btv); | ||
4469 | bttv_input_init(btv); | ||
4470 | } | ||
4465 | 4471 | ||
4466 | /* everything is fine */ | 4472 | /* everything is fine */ |
4467 | bttv_num++; | 4473 | bttv_num++; |