Re: [PATCH v2 00/11] HID: hid-lenovo-go-s: Fix various bugs

From: Jiri Kosina

Date: Tue Dec 01 2026 - 06:54:30 EST


On Fri, 16 Oct 2026, Derek J. Clark wrote:

> This series fixes various bugs in the hid-lenovo-go-s driver
>
> Patch 1 fixes a dropped error on return from mcu_property_out().
>
> Patch 2 creates a mechanism to ignore stale responses if they timed out
> in the previous command.
>
> Patch 3 fixes a deadlock if the device is removed while cfg_setup() is
> running.
>
> Patch 4 adds missing pm_ptr to the reset_resume function pointer.
>
> Patch 5 adds a kobject_uevent notify during reset-resume to ensure the
> os_mode return is caught by udev.
>
> Patch 6 adds a suspend callback to cancel delayed work and re-queue the
> cfg_setup if the device was suspended prior to or during the work.
>
> Patch 7 moves attribute init to the end of cfg_setup, ensuring the
> attributes can only be used once the MCU is ready.
>
> Patch 8 reorganizes hid_gos_cfg and renames it to gos_cfg_drvdata in
> preparation for later fixes.
>
> Patch 9 moves the static led_classdev to become a member of the drvdata
> struct.
>
> Patch 10 moves drvdata from a static global to a device allocated
> struct.
>
> Patch 11 stops and closes the HID device when probe fails.

Some of the patches don't apply cleanly any more (sorry for the delay),
could you please base it on for-7.5/lenovo branch and resubmit?

Also, it seems like some of the patches we'd like to have still in 7.4,
but not all of them.
If you could separate this into two sets, one for 7.4 and one that could
wait go in 7.5, that'd be appreciated.

Thanks, and apologies again for the delay,

--
Jiri Kosina
SUSE Labs