[media] rtl2832u: restore ir remote control support
Hi, This patch uses the driver from openpli[1] as a template to restore the remote control support. I had to divert from the original to use the in kernel rc protocol decoder. The key repetition does, not seem to work but I cant find the problem in the driver. As a raw rc provider, no key table is hardcoded. Rodrigo. [1]: https://aur.archlinux.org/packages/dvb-usb-rtl2832u-openpli/?comments=all Signed-off-by: Rodrigo Tartajo <rtarty@gmail.com> Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:

committed by
Mauro Carvalho Chehab

parent
1bddf1b3ac
commit
1e41413f98
@@ -140,7 +140,7 @@ struct dvb_usb_rc {
|
||||
int (*change_protocol)(struct rc_dev *dev, u64 *rc_type);
|
||||
int (*query) (struct dvb_usb_device *d);
|
||||
unsigned int interval;
|
||||
const enum rc_driver_type driver_type;
|
||||
enum rc_driver_type driver_type;
|
||||
bool bulk_mode;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user