]> git.baikalelectronics.ru Git - kernel.git/commit
HID: asus: Remove check for same LED brightness on set
authorLuke D. Jones <luke@ljones.dev>
Sun, 4 Jul 2021 22:26:59 +0000 (10:26 +1200)
committerJiri Kosina <jkosina@suse.cz>
Thu, 15 Jul 2021 19:01:32 +0000 (21:01 +0200)
commit094ca9075e8b8af73e8dcf81ca7edb304cc86a83
tree2f44d51bc8e790e03744e9b1cebffc3bc2459fba
parent352a7ace7bcd6a62fb64db380ea7440cb3783c4d
HID: asus: Remove check for same LED brightness on set

Remove the early return on LED brightness set so that any controller
application, daemon, or desktop may set the same brightness at any stage.

This is required because many ASUS ROG keyboards will default to max
brightness on laptop resume if the LEDs were set to off before sleep.

Signed-off-by: Luke D Jones <luke@ljones.dev>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-asus.c