From: Jason Gerecke Date: Sat, 19 Apr 2014 20:49:37 +0000 (-0700) Subject: Input: wacom - override 'pressure_max' with value from HID_USAGE_PRESSURE X-Git-Tag: omap-for-v3.16/pm-signed~60^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9fc413f4a5ebd9f0f7bdf923c43191e99fc1970;p=pandora-kernel.git Input: wacom - override 'pressure_max' with value from HID_USAGE_PRESSURE The 0xEC sensor is used in multiple tablet PCs and curiously has versions that report 256 levels of pressure (Samsung Slate 7) as well as versions that report 1024 levels (Lenovo Thinkpad Yoga). To allow both versions to work properly, we allow the value of HID_USAGE_PRESSURE reported to override pressure_max. Signed-off-by: Jason Gerecke Tested-by: Aaron Skomra Reviewed-by: Carl Worth Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed