ACPI: video: Add quirk for the Dell Vostro 3350
authorHans de Goede <hdegoede@redhat.com>
Wed, 30 Jun 2021 15:23:16 +0000 (17:23 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 30 Jun 2021 18:03:41 +0000 (20:03 +0200)
commit9249c32ec9197e8d34fe5179c9e31668a205db04
tree2bbd1c911b769a058166da05ec9b61013b310467
parent5e6928249b81b4d8727ab6a4037a171d15455cb0
ACPI: video: Add quirk for the Dell Vostro 3350

The Dell Vostro 3350 ACPI video-bus device reports spurious
ACPI_VIDEO_NOTIFY_CYCLE events resulting in spurious KEY_SWITCHVIDEOMODE
events being reported to userspace (and causing trouble there).

Add a quirk setting the report_key_events mask to
REPORT_BRIGHTNESS_KEY_EVENTS so that the ACPI_VIDEO_NOTIFY_CYCLE
events will be ignored, while still reporting brightness up/down
hotkey-presses to userspace normally.

BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1911763
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpi_video.c