Re: [PATCH] HID: rmi: do not fetch more than 16 bytes in a query
From: Jiri Kosina
Date: Tue May 13 2014 - 10:44:36 EST
On Thu, 24 Apr 2014, Benjamin Tissoires wrote:
> A firmware bug is present on the XPS Haswell edition which silently
> split the request in two responses when the caller ask for a read of
> more than 16 bytes.
> The FW sends the first 16 then the 4 next, but it says that it answered
> the 20 bytes in the first report.
>
> This occurs only on the retrieving of the min/max of X and Y of the F11
> function.
> We only use the first 10 bytes of the Ctrl register, so we can get only
> those 10 bytes to prevent the bug from happening.
>
> Resolves:
> https://bugzilla.redhat.com/show_bug.cgi?id=1090161
>
> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@xxxxxxxxxx>
Applied, thanks.
--
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/