]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
HID: redragon: fix num lock and caps lock LEDs
authorRobert Munteanu <rombert@apache.org>
Tue, 19 Jun 2018 08:20:40 +0000 (11:20 +0300)
committerJiri Kosina <jkosina@suse.cz>
Mon, 25 Jun 2018 13:23:40 +0000 (15:23 +0200)
commitdc9b8e85ed95cbe7e3ad0eabb5b48d617bbc365e
tree92ef2bfc9b10f8b99a3fc4ba255ec96b8cc26361
parent44d4d51de9a3534a2b63d69efda02a10e66541e4
HID: redragon: fix num lock and caps lock LEDs

The redragon asura keyboard registers two input devices. The initial commit
85455dd906d5 ("HID: redragon: Fix modifier keys for Redragon Asura Keyboard")
considered this an error and prevented one of the devices from registering.
However, once this is done the num lock and caps lock leds no longer toggle on
and off, although the key functionality is not affected.

This commit removes the code that prevents the input device
registration and restores the num lock and caps lock LEDs.

Fixes: 85455dd906d5 ("HID: redragon: Fix modifier keys for Redragon Asura Keyboard")
Signed-off-by: Robert Munteanu <rombert@apache.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-redragon.c