summaryrefslogtreecommitdiff
path: root/drivers/input/keyboard
diff options
context:
space:
mode:
authorSebastien Royen <sebastien.royen@armadeus.com>2013-03-31 07:24:13 (GMT)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2013-03-31 07:48:10 (GMT)
commit257a1ec603538036a2f2ae7e8433d775b7a7588a (patch)
treeaa03041b80f470f1f107fd9ca7f5cd92f62888c8 /drivers/input/keyboard
parent80e3e5328a9978fae3654ead657e9df653508713 (diff)
downloadlinux-fsl-qoriq-257a1ec603538036a2f2ae7e8433d775b7a7588a.tar.xz
Input: mma8450 - fix signed 12bits to 32bits conversion
Event value is wrong. Should be in range -2048 to 2047, but is in range 0 to 4095. Use s8 to int conversion and remove 0xfff mask. Signed-off-by: Sebastien Royen <sebastien.royen@armadeus.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/keyboard')
0 files changed, 0 insertions, 0 deletions