Re: [PATCH] HID: core: allow concurrent registration of drivers

From: Jiri Kosina
Date: Mon Jun 25 2018 - 09:30:19 EST


On Thu, 31 May 2018, Benjamin Tissoires wrote:

> Detected on the Dell XPS 9365.
> The laptop has 2 devices that benefit from the hid-generic auto-unbinding.
> When those 2 devices are presented to the userspace, udev loads both
> wacom and hid-multitouch. When this happens, the code in
> __hid_bus_reprobe_drivers() is called concurrently and the second device
> gets reprobed twice.
> An other bug in the power_supply subsystem prevent to remove the wacom
> driver if it just finished its initialization, which basically kills
> the wacom node.
>
> Fixes c17a7476e4c4 ("HID: core: rewrite the hid-generic automatic unbind")
>
> Cc: stable@xxxxxxxxxxxxxxx # v4.17
> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@xxxxxxxxxx>

Now staged in for-4.18/upstream-fixes_v2, with the plan to send it to
Linus this week.

Thanks,

--
Jiri Kosina
SUSE Labs