diff options
author | Chris Chiu <chiu@endlessm.com> | 2018-06-20 17:46:44 +0300 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2018-07-02 15:13:40 +0300 |
commit | dbb3d78f61badeadc7448f9d88a070a76612860f (patch) | |
tree | fba2af61a20fff2d4639eea7a2a1114fc601923c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 4cf2afd6ef0d5e43e92d46401e7c1d3a9fac915b (diff) | |
download | linux-dbb3d78f61badeadc7448f9d88a070a76612860f.tar.xz |
platform/x86: asus-wmi: Call led hw_changed API on kbd brightness change
Make asus-wmi notify on hotkey kbd brightness changes, listen for
brightness events and update the brightness directly in the driver.
Create new do_kbd_led_set function for in-driver update, and leave
kbd_led_set for original led_classdev call path.
Update the brightness by led_classdev_notify_brightness_hw_changed.
This will allow userspace to monitor (poll) for brightness changes
on the LED without reporting via input keymapping.
Signed-off-by: Chris Chiu <chiu@endlessm.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions