From: Alex Hung Date: Tue, 24 Apr 2012 08:40:52 +0000 (+0800) Subject: thinkpad-acpi: fix issuing duplicated key events for brightness up/down X-Git-Tag: v3.5-rc1~9^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff413195e830541afeae469fc866ecd0319abd7e;p=pandora-kernel.git 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: Alex Hung Signed-off-by: Matthew Garrett --- Reading git-diff-tree failed