HID: handle logical min/max signedness properly in parser
authorsrinivas pandruvada <srinivas.pandruvada@intel.com>
Thu, 10 May 2012 23:45:31 +0000 (16:45 -0700)
committerJiri Kosina <jkosina@suse.cz>
Mon, 14 May 2012 12:57:26 +0000 (14:57 +0200)
commit0cd516c246759bb57b69d836b625d8f8c566e8ca
tree5d75d5d8edbe123cd98414143981d0a523527938
parentd6d7c873529abd622897cad5e36f1fd7d82f5110
HID: handle logical min/max signedness properly in parser

When logical maximum is 0xffffffff, the parser fails even if
logical minimum is more than 0.

By HID specification this is a valid combination.

Signed-off-by: srinivas pandruvada <srinivas.pandruvada@intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-core.c