summaryrefslogtreecommitdiff
path: root/Documentation/auxdisplay
diff options
context:
space:
mode:
authorGeorge Spelvin <linux@horizon.com>2014-05-11 08:12:09 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-07-25 23:44:23 -0300
commit20d7e3ca1be76a13fb4ea22246bb9d0c4c365809 (patch)
tree55145fffdb69774a882a38e0a4b1086271107716 /Documentation/auxdisplay
parent7cec72ce00c174fd74d1183599d3d3dcc5dedc26 (diff)
[media] ati_remote: Check the checksum
An input report is 4 bytes long, but there are only 12 bits of actual payload. The 4 bytes are: data[0] = 0x14 data[1] = data[2] + data[3] + 0xd5 (a checksum byte) data[2] = the raw scancode (plus toggle bit in msbit) data[3] = channel << 4 (the low 4 bits must be zero) Ignore reports with a bad checksum. Signed-off-by: George Spelvin <linux@horizon.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'Documentation/auxdisplay')
0 files changed, 0 insertions, 0 deletions