Skip to content
Commit ff413195 authored by Alex Hung's avatar Alex Hung Committed by Matthew Garrett
Browse files

thinkpad-acpi: fix issuing duplicated key events for brightness up/down



The tp_features.bright_acpimode will not be set correctly for brightness
control because ACPI_VIDEO_HID will not be located in ACPI. As a result,
a duplicated key event will always be sent. acpi_video_backlight_support()
is sufficient to detect standard ACPI brightness control.

Signed-off-by: default avatarAlex Hung <alex.hung@canonical.com>
Signed-off-by: default avatarMatthew Garrett <mjg@redhat.com>
parent 96960880
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment