[media] dvb_usb_v2: register device even no remote keymap defined
authorAntti Palosaari <crope@iki.fi>
Thu, 5 Jul 2012 22:57:07 +0000 (19:57 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 4 Aug 2012 10:56:39 +0000 (07:56 -0300)
commitde73beeed032f93f0106992c075357be5b1f2fab
tree52112ac9dd232a7ca88a85684d5ed0f69b78905e
parent5674ca257c6b1553005d5a9d9b8f514c53591203
[media] dvb_usb_v2: register device even no remote keymap defined

It failed to register device when remote keymap was not set.
Fix it to register device even keymap is NULL. In that case
just skip remote registration.

Driver should set RC_MAP_EMPTY to enable remote in case of
there is remote receiver but default keymap is unknown.

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