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)
commit3fdcf7cdfc229346d028242e73562704ad644dd0
tree2f44d51bc8e790e03744e9b1cebffc3bc2459fba
parente48bf29cf9d6d60d810e2af71e54b71a324094e0
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