]> git.baikalelectronics.ru Git - kernel.git/commit
[media] dib0700: Fix IR keycode handling
authorMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 12 Jan 2011 15:17:52 +0000 (12:17 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 Jan 2011 13:45:17 +0000 (11:45 -0200)
commitb65e83b66c8995784040fec306108ae1e051051c
treec1e87f25426cad90836d44d5b9be79d7511eb406
parent35abf973b39059c6ca43b8f36311bdb0afdc4d06
[media] dib0700: Fix IR keycode handling

Fixes Fedora 14 bug: https://bugzilla.redhat.com/show_bug.cgi?id=667157

There are a few bugs at the code that generates the scancode at dib0700:
- RC keycode is wrong (it outputs a 24 bits keycode);
- NEC extended outputs a keycode that have endiannes issues;
- keycode tables for NEC extended remotes need to be updated.

The last issue need to be done as we get reports, as we don't have
the complete NEC-extended keycodes at the dibcom table.

This patch fixes the first two issues.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/dib0700_core.c