aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorCarlo Caione <[email protected]>2017-04-06 12:18:17 +0200
committerJiri Kosina <[email protected]>2017-04-12 22:30:29 +0200
commitaf22a610bc38508d5ea760507d31be6b6983dfa8 (patch)
tree98aea4d9d982ce18522e0dfc6ac37dec4507689e /lib/memory-notifier-error-inject.c
parent802b24b475e459e985681d6e0815ae6cb52e5560 (diff)
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. [[email protected]: remove pointless cancel_work_sync() call while handling an error in asus_kbd_register_leds(), as spotted by Benjamin] Signed-off-by: Carlo Caione <[email protected]> Reviewed-by: Benjamin Tissoires <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions