summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/dvb-usb/af9015.c
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2008-11-04 16:38:01 +0200
committerAntti Palosaari <crope@iki.fi>2008-11-04 16:38:01 +0200
commit7661fbd19048ffe6ddc55ecdceef3d895559f605 (patch)
tree69cdfb9e9be814e0f07852390affe1f0263ecce4 /linux/drivers/media/dvb/dvb-usb/af9015.c
parentcff91fce09fe7bd354a4dfcd05f05622a07ee3f8 (diff)
downloadmediapointer-dvb-s2-7661fbd19048ffe6ddc55ecdceef3d895559f605.tar.gz
mediapointer-dvb-s2-7661fbd19048ffe6ddc55ecdceef3d895559f605.tar.bz2
af9015: add support for AverMedia Volar X remote.
From: Jose Alberto Reguero <jareguero@telefonica.net> This patch add support for AverMedia Volar X remote. Priority: normal Signed-off-by: Jose Alberto Reguero <jareguero@telefonica.net> Signed-off-by: Antti Palosaari <crope@iki.fi>
Diffstat (limited to 'linux/drivers/media/dvb/dvb-usb/af9015.c')
-rw-r--r--linux/drivers/media/dvb/dvb-usb/af9015.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/dvb-usb/af9015.c b/linux/drivers/media/dvb/dvb-usb/af9015.c
index 64d2d0f8c..c433366ac 100644
--- a/linux/drivers/media/dvb/dvb-usb/af9015.c
+++ b/linux/drivers/media/dvb/dvb-usb/af9015.c
@@ -806,6 +806,16 @@ static int af9015_read_config(struct usb_device *udev)
ARRAY_SIZE(af9015_ir_table_msi);
}
break;
+ case USB_VID_AVERMEDIA:
+ af9015_properties[i].rc_key_map =
+ af9015_rc_keys_avermedia;
+ af9015_properties[i].rc_key_map_size =
+ ARRAY_SIZE(af9015_rc_keys_avermedia);
+ af9015_config.ir_table =
+ af9015_ir_table_avermedia;
+ af9015_config.ir_table_size =
+ ARRAY_SIZE(af9015_ir_table_avermedia);
+ break;
}
}
}