summaryrefslogtreecommitdiffstats
path: root/drivers/input/mouse/hgpk.h
diff options
context:
space:
mode:
authorMatteo Delfino <kendatsuba@gmail.com>2013-07-06 21:52:26 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2013-07-06 21:57:27 -0700
commit9eebed7de660c0b5ab129a9de4f89d20b60de68c (patch)
tree74f280c98accf0f733116d5b794ea833d08c985a /drivers/input/mouse/hgpk.h
parenta608026eacaee59cf0f1fa5caad60320f5b4a373 (diff)
downloadop-kernel-dev-9eebed7de660c0b5ab129a9de4f89d20b60de68c.zip
op-kernel-dev-9eebed7de660c0b5ab129a9de4f89d20b60de68c.tar.gz
Input: elantech - fix for newer hardware versions (v7)
* Fix version recognition in elantech_set_properties The new hardware reports itself as v7 but the packets' structure is unaltered. * Fix packet type recognition in elantech_packet_check_v4 The bitmask used for v6 is too wide, only the last three bits of the third byte in a packet (packet[3] & 0x03) are actually used to distinguish between packet types. Starting from v7, additional information (to be interpreted) is stored in the remaining bits (packets[3] & 0x1c). In addition, the value stored in (packet[0] & 0x0c) is no longer a constant but contains additional information yet to be deciphered. This change should be backwards compatible with v6 hardware. Additional-author: Giovanni Frigione <gio.frigione@gmail.com> Signed-off-by: Matteo Delfino <kendatsuba@gmail.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/mouse/hgpk.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud