Re: [PATCH] HID: rmi: The address of query8 must be calculated based on which query registers are present

From: Jiri Kosina
Date: Tue Dec 09 2014 - 03:07:48 EST


On Mon, 8 Dec 2014, Andrew Duggan wrote:

> 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 <aduggan@xxxxxxxxxxxxx>

Applied to hid.git#for-3.19/rmi as well.

--
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/