aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorYurii Pavlovskyi <[email protected]>2019-05-14 20:51:25 +0200
committerAndy Shevchenko <[email protected]>2019-06-17 15:22:47 +0300
commit8853a2f6498b244d0cfff5c11158e2f76e323975 (patch)
tree31150fc6af932da63a7f1b697a5dcc54e96231d6 /tools/perf/scripts/python/exported-sql-viewer.py
parentcd10ee006ab504b2b9c5ed992cc06d3e110c6311 (diff)
platform/x86: asus-wmi: Fix preserving keyboard backlight intensity on load
The error code and return value are mixed up. The intensity is always set to 0 on load as kbd_led_read returns either 0 or negative value. To reproduce set backlight to maximum, reload driver and try to increase it using keyboard hotkey, the intensity will drop as a result. Correct the implementation. Signed-off-by: Yurii Pavlovskyi <[email protected]> Reviewed-by: Daniel Drake <[email protected]> Signed-off-by: Andy Shevchenko <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions