summaryrefslogtreecommitdiff
path: root/linux/drivers/media
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2009-04-02 11:25:09 +0300
committerAntti Palosaari <crope@iki.fi>2009-04-02 11:25:09 +0300
commit42628535c1ee2b9d89e7fe0d4d430df926a2368c (patch)
tree7c097936e4d13c5405b0eb12ca77a720c040505f /linux/drivers/media
parente149dc20dba1c192f28fbeab92aac7f004a41273 (diff)
downloadmediapointer-dvb-s2-42628535c1ee2b9d89e7fe0d4d430df926a2368c.tar.gz
mediapointer-dvb-s2-42628535c1ee2b9d89e7fe0d4d430df926a2368c.tar.bz2
af9015: support for DigitalNow TinyTwin remote
From: Stuart Hall <mailing-lists@enginuities.com> Patch to provide basic support for DigitalNow TinyTwin Remote. It uses same remote as TwinHan AzureWave AD-TU700(704J). Priority: normal Signed-off-by: Stuart Hall <mailing-lists@enginuities.com> Signed-off-by: Antti Palosaari <crope@iki.fi>
Diffstat (limited to 'linux/drivers/media')
-rw-r--r--linux/drivers/media/dvb/dvb-usb/af9015.c19
1 files changed, 8 insertions, 11 deletions
diff --git a/linux/drivers/media/dvb/dvb-usb/af9015.c b/linux/drivers/media/dvb/dvb-usb/af9015.c
index 5feed970a..ceea6676b 100644
--- a/linux/drivers/media/dvb/dvb-usb/af9015.c
+++ b/linux/drivers/media/dvb/dvb-usb/af9015.c
@@ -785,17 +785,14 @@ static int af9015_read_config(struct usb_device *udev)
ARRAY_SIZE(af9015_ir_table_leadtek);
break;
case USB_VID_VISIONPLUS:
- if (udev->descriptor.idProduct ==
- cpu_to_le16(USB_PID_AZUREWAVE_AD_TU700)) {
- af9015_properties[i].rc_key_map =
- af9015_rc_keys_twinhan;
- af9015_properties[i].rc_key_map_size =
- ARRAY_SIZE(af9015_rc_keys_twinhan);
- af9015_config.ir_table =
- af9015_ir_table_twinhan;
- af9015_config.ir_table_size =
- ARRAY_SIZE(af9015_ir_table_twinhan);
- }
+ af9015_properties[i].rc_key_map =
+ af9015_rc_keys_twinhan;
+ af9015_properties[i].rc_key_map_size =
+ ARRAY_SIZE(af9015_rc_keys_twinhan);
+ af9015_config.ir_table =
+ af9015_ir_table_twinhan;
+ af9015_config.ir_table_size =
+ ARRAY_SIZE(af9015_ir_table_twinhan);
break;
case USB_VID_KWORLD_2:
/* TODO: use correct rc keys */