diff options
author | Alex Hung <alex.hung@canonical.com> | 2012-04-24 16:40:52 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-06-07 16:02:07 -0700 |
commit | 2467a26e7069cb61fe52d8a8fc7c6f2e5c7fa935 (patch) | |
tree | b8bc75c56147e226d43b7aa4da75a50fd3cc7190 /lib/bug.c | |
parent | 51a937d48eee52b33ba1f2feb2b8b40d254800c9 (diff) |
thinkpad-acpi: fix issuing duplicated key events for brightness up/down
commit ff413195e830541afeae469fc866ecd0319abd7e upstream.
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: Alex Hung <alex.hung@canonical.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Cc: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/bug.c')
0 files changed, 0 insertions, 0 deletions