diff options
author | Anssi Hannula <anssi.hannula@iki.fi> | 2011-12-06 22:34:29 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-12-11 10:51:59 -0200 |
commit | 5eefb4f09bd8b250421fbd055e67d136d57f4030 (patch) | |
tree | 7463a7dc35dd9c5dc40b55dad92f7b2552468d38 /drivers/media/rc/keymaps/rc-kaiomy.c | |
parent | 6b806e30a3149816454a7ab71d50c244ebdb27d1 (diff) |
[media] ati_remote: switch to single-byte scancodes
The ati_remote driver currently uses 2-byte scancodes. However, one of
those bytes is actually a checksum and therefore shouldn't be considered
as part of the scancode.
Fix the driver to only use the actual data byte as a scancode and to
check the checksum itself. Update the bundled keymaps accordingly.
Since ati_remote was only migrated to the rc subsystem for 3.2, the
previous scancodes weren't emitted on any stable kernel.
Reported-by: George Spelvin <linux@horizon.com>
Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/rc/keymaps/rc-kaiomy.c')
0 files changed, 0 insertions, 0 deletions