From cabd9b5f1fc3fc2261bce2e0399767b59c84bb7b Mon Sep 17 00:00:00 2001 From: Andrew Duggan Date: Mon, 8 Dec 2014 15:02:00 -0800 Subject: [PATCH] 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-format-patch failed