Hans de Goede 3a0cf7ab8d 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 <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>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20220624112340.10130-2-hdegoede@redhat.com
2022-06-28 21:53:30 +02:00
..
2022-05-25 15:37:07 +02:00
2022-05-27 21:24:19 -07:00
2022-01-12 15:57:59 -08:00
2022-03-25 12:14:39 -07:00
2022-04-05 10:24:38 +02:00
2022-01-12 19:40:31 +01:00
2022-05-27 21:24:19 -07:00
2020-11-09 19:25:20 +01:00
2022-05-25 15:37:07 +02:00
2019-11-13 11:12:08 +01:00
2022-05-27 21:24:19 -07:00
2022-01-22 08:33:37 +02:00
2021-06-07 15:36:46 +02:00
2020-11-09 19:08:06 +01:00
2021-06-25 15:02:43 +02:00
2020-11-09 19:08:06 +01:00