diff options
author | Sebastien Royen <sebastien.royen@armadeus.com> | 2013-03-31 09:24:13 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2013-03-31 09:48:10 +0200 |
commit | 257a1ec603538036a2f2ae7e8433d775b7a7588a (patch) | |
tree | aa03041b80f470f1f107fd9ca7f5cd92f62888c8 /drivers/input/serio | |
parent | Input: eeti_ts - remove redundant null check (diff) | |
download | linux-257a1ec603538036a2f2ae7e8433d775b7a7588a.tar.xz linux-257a1ec603538036a2f2ae7e8433d775b7a7588a.zip |
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/serio')
0 files changed, 0 insertions, 0 deletions