summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/dvb-usb/af9015.c
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2009-01-24 00:23:23 +0200
committerAntti Palosaari <crope@iki.fi>2009-01-24 00:23:23 +0200
commit3b3a0da046f354c968c609f25969e0acbf01ce93 (patch)
tree5b278153a5baacedb4f7a18a715d4b51969a9a91 /linux/drivers/media/dvb/dvb-usb/af9015.c
parent97bfa7bcab320242823e8d3c6933b691c82a8be9 (diff)
downloadmediapointer-dvb-s2-3b3a0da046f354c968c609f25969e0acbf01ce93.tar.gz
mediapointer-dvb-s2-3b3a0da046f354c968c609f25969e0acbf01ce93.tar.bz2
af9015: New remote RM-KS for Avermedia Volar-X
From: Jose Alberto Reguero <jareguero@telefonica.net> The new Avermedia Volar-X is shipped with a new remote(RM-KS). The attached patch add a new option to the remote parameter of dvb_usb_af9015 for this remote. Priority: normal Signed-off-by: Felipe Morales Moreno <felipe.morales.moreno@gmail.com> 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 5d4f070c3..e518d47fe 100644
--- a/linux/drivers/media/dvb/dvb-usb/af9015.c
+++ b/linux/drivers/media/dvb/dvb-usb/af9015.c
@@ -748,6 +748,16 @@ static int af9015_read_config(struct usb_device *udev)
af9015_config.ir_table_size =
ARRAY_SIZE(af9015_ir_table_digittrade);
break;
+ case AF9015_REMOTE_AVERMEDIA_KS:
+ 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_ks;
+ af9015_config.ir_table_size =
+ ARRAY_SIZE(af9015_ir_table_avermedia_ks);
+ break;
}
} else {
switch (le16_to_cpu(udev->descriptor.idVendor)) {