[media] budget-ci: Fix Hauppauge RC-5 IR support
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 17 Dec 2011 11:03:29 +0000 (09:03 -0200)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 18 Dec 2011 00:15:02 +0000 (22:15 -0200)
commit5183c137974da0c8192fc4c5cc5cae5974125b06
treec5c8e38179bdc22ead00c29b4ea677afd3254417
parentbcc072756e4467dc30e502a311b1c3adec96a0e4
[media] budget-ci: Fix Hauppauge RC-5 IR support

Hauppauge RC-5 tables require the full scancodes. The code at budget-ci
handles it right, however, it request the rc-code to mask them with 0xff,
breaking support for some remote controllers.

Fix it by not selecting a scancode mask when the driver is on full_rc5 mode.

Reported-by: Brian May <brian@microcomaustralia.com.au>
Tested-by: Brian May <brian@microcomaustralia.com.au>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/ttpci/budget-ci.c