Re: [PATCH] HID: nintendo: deregister home LED when it fails
From: Silvan Jegen
Date: Mon Apr 18 2022 - 11:17:25 EST
Hi
Icenowy Zheng <icenowy@xxxxxxx> wrote:
> Some Pro Controller compatible controllers do not support home LED, and
> will fail when setting it. Currently this leads to probe failure.
>
> Change the code that fails probing to deregistering home LED.
>
> Signed-off-by: Icenowy Zheng <icenowy@xxxxxxx>
Reviewed-by: Silvan Jegen <s.jegen@xxxxxxxxx>
I don't have a "Nintendo Pro Controller"-compatible controller to test
with but I have compiled a Kernel with this patch applied and can confirm
that the original Nintendo Pro Controller is still probed correctly with
this patch applied.
Cheers,
Silvan