[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)
commiteb29fbeaed617f7a2cf53d276535f8fbdc28db09
tree0744c7ebfbb4f806d1550b636ab21896c9d17aae
parentad6b9e517b39acec98862e7f9bddefe1b275445b
[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