mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-07 21:24:00 +08:00
[media] tm6000: Use a 16 scancode bitmask for IR
This should allow using 24 or 32 bits NEC IR decoding tables with those devices. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
8afc539c4a
commit
9f711a80c5
@ -416,6 +416,8 @@ int tm6000_ir_init(struct tm6000_core *dev)
|
||||
|
||||
/* input setup */
|
||||
rc->allowed_protos = RC_TYPE_RC5 | RC_TYPE_NEC;
|
||||
/* Neded, in order to support NEC remotes with 24 or 32 bits */
|
||||
rc->scanmask = 0xffff;
|
||||
rc->priv = ir;
|
||||
rc->change_protocol = tm6000_ir_change_protocol;
|
||||
if (&dev->int_in) {
|
||||
|
Loading…
Reference in New Issue
Block a user