diff options
Diffstat (limited to 'drivers/media/video/saa7134/saa7134-input.c')
-rw-r--r-- | drivers/media/video/saa7134/saa7134-input.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/saa7134/saa7134-input.c b/drivers/media/video/saa7134/saa7134-input.c index 2aba72de55d6..b792401712ba 100644 --- a/drivers/media/video/saa7134/saa7134-input.c +++ b/drivers/media/video/saa7134/saa7134-input.c | |||
@@ -716,7 +716,7 @@ int saa7134_input_init1(struct saa7134_dev *dev) | |||
716 | int polling = 0; | 716 | int polling = 0; |
717 | int ir_type = IR_TYPE_OTHER; | 717 | int ir_type = IR_TYPE_OTHER; |
718 | 718 | ||
719 | if (!dev->has_remote) | 719 | if (dev->has_remote != SAA7134_REMOTE_GPIO) |
720 | return -ENODEV; | 720 | return -ENODEV; |
721 | if (disable_ir) | 721 | if (disable_ir) |
722 | return -ENODEV; | 722 | return -ENODEV; |
@@ -877,6 +877,7 @@ void saa7134_input_fini(struct saa7134_dev *dev) | |||
877 | void saa7134_set_i2c_ir(struct saa7134_dev *dev, struct IR_i2c *ir) | 877 | void saa7134_set_i2c_ir(struct saa7134_dev *dev, struct IR_i2c *ir) |
878 | { | 878 | { |
879 | if (disable_ir) { | 879 | if (disable_ir) { |
880 | dprintk("Found supported i2c remote, but IR has been disabled\n"); | ||
880 | ir->get_key=NULL; | 881 | ir->get_key=NULL; |
881 | return; | 882 | return; |
882 | } | 883 | } |