Re: [PATCH] HID: fix hid_ignore_special_drivers module parameter

From: Jiri Kosina
Date: Tue Feb 16 2016 - 05:05:52 EST


On Fri, 12 Feb 2016, Benjamin Tissoires wrote:

> hid_ignore_special_drivers works fine until hid_scan_report
> autodetects and reassign devices (for hid-multitouch,
> hid-microsoft and hid-rmi).
>
> Simplify the handling of the parameter: if it is there, use
> hid-generic, no matter what, and if not, scan the device or
> rely on the hid_have_special_driver table.
>
> This was detected while trying to disable hid-multitouch on
> a Surface Pro cover which prevented to use the keyboard.
>
> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@xxxxxxxxxx>
> CC: stable@xxxxxxxxxxxxxxx
> ---
>
> Hi Jiri,
>
> not sure if we should keep or not the stable@ tag. The issue was there for a
> long time, and nobody complained. It's up to you.

I've now applied it to for-4.5/upstream-fixes, but will wait if there is
any other more important fix that'd trigger the push of this branch to
Linus; otherwise it'll go in the merge window pile and will get backported
to -stable later.

Thanks,

--
Jiri Kosina
SUSE Labs