diff options
author | Hans de Goede <hdegoede@redhat.com> | 2022-06-24 13:23:38 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2022-06-28 21:54:44 +0200 |
commit | 1f2c9de83a50447a2d7166f6273ab0c0e97cd68e (patch) | |
tree | 88b28ce196c86d0747764e546d27b3fd819ee3ce /drivers/platform/x86/Kconfig | |
parent | platform/x86: panasonic-laptop: revert "Resolve hotkey double trigger bug" (diff) | |
download | linux-dev-1f2c9de83a50447a2d7166f6273ab0c0e97cd68e.tar.xz linux-dev-1f2c9de83a50447a2d7166f6273ab0c0e97cd68e.zip |
platform/x86: panasonic-laptop: don't report duplicate brightness key-presses
The brightness key-presses might also get reported by the ACPI video bus,
check for this and in this case don't report the presses to avoid reporting
2 presses for a single key-press.
Fixes: ed83c9171829 ("platform/x86: panasonic-laptop: Resolve hotkey double trigger bug")
Reported-and-tested-by: Stefan Seyfried <seife+kernel@b1-systems.com>
Reported-and-tested-by: Kenneth Chan <kenneth.t.chan@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20220624112340.10130-6-hdegoede@redhat.com
Diffstat (limited to 'drivers/platform/x86/Kconfig')
-rw-r--r-- | drivers/platform/x86/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig index f08ad85683cb..b59063f83104 100644 --- a/drivers/platform/x86/Kconfig +++ b/drivers/platform/x86/Kconfig @@ -945,6 +945,7 @@ config PANASONIC_LAPTOP tristate "Panasonic Laptop Extras" depends on INPUT && ACPI depends on BACKLIGHT_CLASS_DEVICE + depends on ACPI_VIDEO=n || ACPI_VIDEO select INPUT_SPARSEKMAP help This driver adds support for access to backlight control and hotkeys |