diff options
author | Icenowy Zheng <icenowy@aosc.io> | 2022-04-15 18:04:32 +0800 |
---|---|---|
committer | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2022-09-21 09:48:23 +0100 |
commit | 8b30fb40f8f2c5e56b7af553a398340f92d17aae (patch) | |
tree | 8bca7343d21d86fdd64d9b93702321faaf61ea7a /drivers/hid/hid-rmi.c | |
parent | a1f764268f3390406f4dcbe3d2f537f2424f22ca (diff) |
HID: nintendo: deregister home LED when it fails
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@aosc.io>
Reviewed-by: Daniel J. Ogorchock <djogorchock@gmail.com>
Reviewed-by: Silvan Jegen <s.jegen@gmail.com>
[bentiss: changed "dflt" to "default"]
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Link: https://lore.kernel.org/r/20220415100432.23453-1-icenowy@aosc.io
Diffstat (limited to 'drivers/hid/hid-rmi.c')
0 files changed, 0 insertions, 0 deletions