diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-04-02 20:50:21 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-04-02 20:50:21 -0300 |
commit | f6816dc0e0924644a294146b032a0a4961de55ec (patch) | |
tree | 6e0374e4efda695d79b2b09897f478be64a120a0 /linux/drivers/media/dvb/dvb-usb/af9015.c | |
parent | 343fccd7cfac5699386a7d9b4290360a5fc4f688 (diff) | |
parent | 42628535c1ee2b9d89e7fe0d4d430df926a2368c (diff) | |
download | mediapointer-dvb-s2-f6816dc0e0924644a294146b032a0a4961de55ec.tar.gz mediapointer-dvb-s2-f6816dc0e0924644a294146b032a0a4961de55ec.tar.bz2 |
merge: http://linuxtv.org/hg/~anttip/af9015/
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/dvb/dvb-usb/af9015.c')
-rw-r--r-- | linux/drivers/media/dvb/dvb-usb/af9015.c | 19 |
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 */ |