diff options
| author | Denis Benato <denis.benato@linux.dev> | 2026-02-28 20:10:10 +0100 |
|---|---|---|
| committer | Jiri Kosina <jkosina@suse.com> | 2026-03-10 18:01:19 +0100 |
| commit | c89046d57d534348b41ca28f5c1c5443743dbe04 (patch) | |
| tree | 000b0ab5717becac516e4ef99b640c3d67e2fc2c /scripts/patch-kernel | |
| parent | 7253091766ded0fd81fe8d8be9b8b835495b06e8 (diff) | |
HID: asus: do not try to initialize the backlight if the enpoint doesn't support it
Avoid possibly printing a warning about the inability to initialize the
backlight if the hid endpoint doesn't support it.
Also fix and move an incorrect check in asus_kbd_register_leds(): that
same check is now used as a precondition to call that function.
Fixes: 0919db9f3583 ("HID: asus: always fully initialize devices")
Signed-off-by: Denis Benato <denis.benato@linux.dev>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
