diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-11-30 20:55:28 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-11-30 20:58:20 +0400 |
commit | 9f711a80c5d0048e85c129f23281d9c0634e7010 (patch) | |
tree | 46bffed5b154c3005210acd8963f8b20461b8239 | |
parent | 8afc539c4a3df5da4e90c36cf21e2bc7a2572149 (diff) | |
download | linux-9f711a80c5d0048e85c129f23281d9c0634e7010.tar.xz |
[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>
-rw-r--r-- | drivers/media/video/tm6000/tm6000-input.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/tm6000/tm6000-input.c b/drivers/media/video/tm6000/tm6000-input.c index 6eaf7705e73a..e3467d4245cb 100644 --- a/drivers/media/video/tm6000/tm6000-input.c +++ b/drivers/media/video/tm6000/tm6000-input.c @@ -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) { |