summaryrefslogtreecommitdiffstats
path: root/drivers/media/pci/smipcie/smipcie-ir.c
diff options
context:
space:
mode:
authorOlli Salonen <olli.salonen@iki.fi>2016-03-09 23:38:27 +0100
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-05-07 15:27:17 +0200
commit0ed8289bd6fff6eda3d57ff09e4b54fd823930ab (patch)
tree800ae447e017110edecb6e831677075ce318f581 /drivers/media/pci/smipcie/smipcie-ir.c
parent[media] ati_remote: avoid fragile snprintf use (diff)
downloadlinux-0ed8289bd6fff6eda3d57ff09e4b54fd823930ab.tar.xz
linux-0ed8289bd6fff6eda3d57ff09e4b54fd823930ab.zip
[media] smipcie: add support for TechnoTrend S2-4200 Twin
Add support for TechnoTrend TT-budget S2-4200 Twin DVB-S2 tuner. The device seems to be rather similar to DVBSky S952 V3. This is a PCIe card with 2 tuners. SMI PCIe bridge is used and the card has two Montage M88RS6000 demod/tuners. The M88RS6000 demod/tuner package needs firmware. You can download one here: http://palosaari.fi/linux/v4l-dvb/firmware/M88RS6000/ Signed-off-by: Olli Salonen <olli.salonen@iki.fi> Reviewed-by: Max Nibble <nibble.max@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
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;