From: Andrew Duggan Date: Mon, 8 Dec 2014 23:02:00 +0000 (-0800) Subject: HID: rmi: The address of query8 must be calculated based on which query registers... X-Git-Tag: omap-for-v3.20/drop-legacy-3517~109^2^8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cabd9b5f1fc3fc2261bce2e0399767b59c84bb7b;p=pandora-kernel.git HID: rmi: The address of query8 must be calculated based on which query registers are present If a touchpad does not report relative data then query 6 will not be present and the address of query 8 will be one less. This patches calculates the location of query 8 instead of hardcoding the offset. Signed-off-by: Andrew Duggan Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed