summaryrefslogtreecommitdiff
path: root/drivers/pnp
diff options
context:
space:
mode:
authorYuluo Qiu <qyl27@outlook.com>2023-11-26 21:59:13 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-02-05 20:12:47 +0000
commit81eb8b56e70c9a6fd6466bdd073c7582d62c2bdf (patch)
treeafd65663119065006a7b14f8a29c070e57fc9b94 /drivers/pnp
parent4d4e06eaa25192e3fe01e0f8ecadf52f6bb39a4a (diff)
downloadlinux-81eb8b56e70c9a6fd6466bdd073c7582d62c2bdf.tar.gz
linux-81eb8b56e70c9a6fd6466bdd073c7582d62c2bdf.tar.bz2
linux-81eb8b56e70c9a6fd6466bdd073c7582d62c2bdf.zip
ACPI: video: Add quirk for the Colorful X15 AT 23 Laptop
[ Upstream commit 143176a46bdd3bfbe9ba2462bf94458e80d65ebf ] The Colorful X15 AT 23 ACPI video-bus device report spurious ACPI_VIDEO_NOTIFY_CYCLE events resulting in spurious KEY_SWITCHVIDEOMODE events being reported to userspace (and causing trouble there) when an external screen plugged in. 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. Signed-off-by: Yuluo Qiu <qyl27@outlook.com> Co-developed-by: Celeste Liu <CoelacanthusHex@gmail.com> Signed-off-by: Celeste Liu <CoelacanthusHex@gmail.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/pnp')
0 files changed, 0 insertions, 0 deletions