From: Benjamin Tissoires Date: Wed, 14 Nov 2012 15:59:15 +0000 (+0100) Subject: HID: fix unit exponent parsing X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~36^2^4~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=774638386826621c984ab6994439f474709cac5e;p=pandora-kernel.git HID: fix unit exponent parsing HID spec details special values for the HID field unit exponent. Basically, the range [0x8..0xf] correspond to [-8..-1], so this is a standard two's complement on a half-byte. Signed-off-by: Benjamin Tissoires Acked-by: Jiri Kosina Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed