Re: [PATCH] Revert "HID: rmi: Handle all Synaptics touchpads using hid-rmi"

From: Benjamin Tissoires
Date: Tue Apr 11 2017 - 05:32:11 EST


On Apr 11 2017 or thereabouts, Jiri Kosina wrote:
> From: Jiri Kosina <jkosina@xxxxxxx>
>
> This reverts commit 279967a65b320d174a507498aea7d44db3fee7f4.
>
> Multiple regressions [1] [2] [3] have been reported. The hid-rmi
> support would have to fixed and redone in 4.11+.
>
> [1] http://lkml.kernel.org/r/b79b88c8-770a-13f6-5668-c3a94254e5e0@xxxxxxxxx
> [2] http://lkml.kernel.org/r/375e67b5-2cb8-3491-1d71-d8650d6e9451@xxxxxxxxx
> [3] https://bugzilla.kernel.org/show_bug.cgi?id=195287
>
> Reported-by: Cameron Gutman <aicommander@xxxxxxxxx>
> Reported-by: Gabriele Mazzotta <gabriele.mzt@xxxxxxxxx>
> Reported-by: Lorenzo J. Lucchini <ljlbox@xxxxxxxxxx>
> Reported-by: Thorsten Leemhuis <linux@xxxxxxxxxxxxx>
> Signed-off-by: Jiri Kosina <jkosina@xxxxxxx>
> ---

Acked-by: Benjamin Tissoires <benjamin.tissoires@xxxxxxxxxx>

Cheers,
Benjamin

> drivers/hid/hid-core.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
> index 86bbd8a1fd4a..d162f0dc76e3 100644
> --- a/drivers/hid/hid-core.c
> +++ b/drivers/hid/hid-core.c
> @@ -819,8 +819,7 @@ static int hid_scan_report(struct hid_device *hid)
> hid->group = HID_GROUP_WACOM;
> break;
> case USB_VENDOR_ID_SYNAPTICS:
> - if (hid->group == HID_GROUP_GENERIC ||
> - hid->group == HID_GROUP_MULTITOUCH_WIN_8)
> + if (hid->group == HID_GROUP_GENERIC)
> if ((parser->scan_flags & HID_SCAN_FLAG_VENDOR_SPECIFIC)
> && (parser->scan_flags & HID_SCAN_FLAG_GD_POINTER))
> /*
> --
> Jiri Kosina
> SUSE Labs
>