]> git.baikalelectronics.ru Git - kernel.git/commit
[media] af9015: remote controller fixes
authorAntti Palosaari <crope@iki.fi>
Wed, 25 Jul 2012 00:21:04 +0000 (21:21 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 4 Aug 2012 10:56:40 +0000 (07:56 -0300)
commita7f9bf504c6fc0cad68ccffc1031256ef283edb5
tree0744c7ebfbb4f806d1550b636ab21896c9d17aae
parenta14b2ba50d42e20f544ef464f81391b2e4ba189b
[media] af9015: remote controller fixes

1)
AF9015 remote controller query will fail rarely due to register
access failures and dvb_usb_v2 will stop rc polling when error
returned. Add logic to allow errors until two consecutive errors
occurs.

2)
Remote controller key map was not loaded in case of key map was set as
a device property. Fix it.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb-v2/af9015.c
drivers/media/dvb/dvb-usb-v2/af9015.h