Skip to content

Commit

Permalink
[media] tm6000: Use a 16 scancode bitmask for IR
Browse files Browse the repository at this point in the history
This should allow using 24 or 32 bits NEC IR decoding tables with
those devices.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Mauro Carvalho Chehab committed Nov 30, 2011
1 parent 8afc539 commit 9f711a8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/media/video/tm6000/tm6000-input.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 9f711a8

Please sign in to comment.