summaryrefslogtreecommitdiffstats
path: root/drivers/media/pci/smipcie/smipcie-ir.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/pci/smipcie/smipcie-ir.c')
-rw-r--r--drivers/media/pci/smipcie/smipcie-ir.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/media/pci/smipcie/smipcie-ir.c b/drivers/media/pci/smipcie/smipcie-ir.c
index d018673c71f6..d737b5e767d0 100644
--- a/drivers/media/pci/smipcie/smipcie-ir.c
+++ b/drivers/media/pci/smipcie/smipcie-ir.c
@@ -203,7 +203,10 @@ int smi_ir_init(struct smi_dev *dev)
rc_dev->dev.parent = &dev->pci_dev->dev;
rc_dev->driver_type = RC_DRIVER_SCANCODE;
- rc_dev->map_name = RC_MAP_DVBSKY;
+ if (dev->info->type == SMI_TECHNOTREND_S2_4200)
+ rc_dev->map_name = RC_MAP_TT_1500;
+ else
+ rc_dev->map_name = RC_MAP_DVBSKY;
ir->rc_dev = rc_dev;
ir->dev = dev;