Commit 6252d257 authored by Stuart Hall's avatar Stuart Hall Committed by Mauro Carvalho Chehab

V4L/DVB (11345): af9015: support for DigitalNow TinyTwin remote

Patch to provide basic support for DigitalNow TinyTwin Remote. It uses
same remote as TwinHan AzureWave AD-TU700(704J).
Signed-off-by: default avatarStuart Hall <mailing-lists@enginuities.com>
Signed-off-by: default avatarAntti Palosaari <crope@iki.fi>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 16af6f5a
...@@ -782,17 +782,14 @@ static int af9015_read_config(struct usb_device *udev) ...@@ -782,17 +782,14 @@ static int af9015_read_config(struct usb_device *udev)
ARRAY_SIZE(af9015_ir_table_leadtek); ARRAY_SIZE(af9015_ir_table_leadtek);
break; break;
case USB_VID_VISIONPLUS: case USB_VID_VISIONPLUS:
if (udev->descriptor.idProduct == af9015_properties[i].rc_key_map =
cpu_to_le16(USB_PID_AZUREWAVE_AD_TU700)) { af9015_rc_keys_twinhan;
af9015_properties[i].rc_key_map = af9015_properties[i].rc_key_map_size =
af9015_rc_keys_twinhan; ARRAY_SIZE(af9015_rc_keys_twinhan);
af9015_properties[i].rc_key_map_size = af9015_config.ir_table =
ARRAY_SIZE(af9015_rc_keys_twinhan); af9015_ir_table_twinhan;
af9015_config.ir_table = af9015_config.ir_table_size =
af9015_ir_table_twinhan; ARRAY_SIZE(af9015_ir_table_twinhan);
af9015_config.ir_table_size =
ARRAY_SIZE(af9015_ir_table_twinhan);
}
break; break;
case USB_VID_KWORLD_2: case USB_VID_KWORLD_2:
/* TODO: use correct rc keys */ /* TODO: use correct rc keys */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment