diff options
author | Hans de Goede <[email protected]> | 2022-06-24 13:23:34 +0200 |
---|---|---|
committer | Hans de Goede <[email protected]> | 2022-06-28 21:53:30 +0200 |
commit | 3a0cf7ab8df3878a7e2f3d29275b785cf4e7afb6 (patch) | |
tree | b80fd187481345fa2a2cd83c5ae26c586be65801 /lib/memory-notifier-error-inject.c | |
parent | 8853e8ce9b576e0a3aad8381e19a117964d445fa (diff) |
ACPI: video: Change how we determine if brightness key-presses are handled
Some systems have an ACPI video bus but not ACPI video devices with
backlight capability. On these devices brightness key-presses are
(logically) not reported through the ACPI video bus.
Change how acpi_video_handles_brightness_key_presses() determines if
brightness key-presses are handled by the ACPI video driver to avoid
vendor specific drivers/platform/x86 drivers filtering out their
brightness key-presses even though they are the only ones reporting
these presses.
Fixes: ed83c9171829 ("platform/x86: panasonic-laptop: Resolve hotkey double trigger bug")
Reported-and-tested-by: Stefan Seyfried <[email protected]>
Reported-and-tested-by: Kenneth Chan <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Acked-by: Rafael J. Wysocki <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions