summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorCarlo Caione <carlo@endlessm.com>2017-04-06 12:18:17 +0200
committerJiri Kosina <jkosina@suse.cz>2017-04-12 22:30:29 +0200
commitaf22a610bc38508d5ea760507d31be6b6983dfa8 (patch)
tree98aea4d9d982ce18522e0dfc6ac37dec4507689e /drivers/gpu/drm
parentHID: asus: change mapping from KEY_WLAN to KEY_RFKILL (diff)
downloadlinux-af22a610bc38508d5ea760507d31be6b6983dfa8.tar.xz
linux-af22a610bc38508d5ea760507d31be6b6983dfa8.zip
HID: asus: support backlight on USB keyboards
The latest USB keyboards shipped on several ASUS laptop models (including ROG laptop models such as GL702VMK) have the keyboards backlight controlled by the keyboard firmware. The firmware implements at least 3 different commands: - Init command (to use when the system starts) - Configuration command (to get keyboard status/information) - Backlight level control (to change the level of the keyboard light) With this patch we create the usual 'asus::kbd_backlight' led class entry to control the keyboard backlight. [jkosina@suse.cz: remove pointless cancel_work_sync() call while handling an error in asus_kbd_register_leds(), as spotted by Benjamin] Signed-off-by: Carlo Caione <carlo@endlessm.com> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/gpu/drm')
0 files changed, 0 insertions, 0 deletions