From: Sebastien Royen Date: Sun, 31 Mar 2013 07:24:13 +0000 (-0700) Subject: Input: mma8450 - fix signed 12bits to 32bits conversion X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~78^2^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=257a1ec603538036a2f2ae7e8433d775b7a7588a;p=pandora-kernel.git 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 Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed