summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorPatryk Pilichowski <pat.pilichowski@gmail.com>2026-09-25 23:33:33 +0200
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2026-10-13 12:05:49 +0300
commit3e0193dc381468589e597c9e5144eb050d36f016 (patch)
tree9e79e22038c8493979950d2d7fecd3530740c26d /tools/perf/scripts/python/export-to-sqlite.py
parent33c14a2a9dca43875621a02eaac99c6e321f4a3c (diff)
platform/x86: msi-wmi: Fix hotkeys dropped with vendor backlight
Commit dee82409a883 ("platform/x86: msi-wmi: Reformat msi_wmi_notify()") turned the condition for reporting a hotkey into an early return, but only negated the brightness key comparisons, not the backlight check. As a result, when the driver registers its own backlight device, all WMI hotkeys are now dropped, instead of all of them being reported as before. Restore the original behavior: only drop the brightness keys, and only when brightness is handled by the ACPI video driver. This was found by code inspection. It is not tested on hardware that uses the vendor backlight; on an MSI Katana 15 B13VFK (no vendor backlight) hotkey handling is unchanged. Fixes: dee82409a883 ("platform/x86: msi-wmi: Reformat msi_wmi_notify()") Signed-off-by: Patryk Pilichowski <pat.pilichowski@gmail.com> Link: https://patch.msgid.link/20260925213333.198058-1-pat.pilichowski@gmail.com Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions