[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230227185907.569154-2-wse@tuxedocomputers.com>
Date: Mon, 27 Feb 2023 19:59:06 +0100
From: Werner Sembach <wse@...edocomputers.com>
To: dmitry.torokhov@...il.com, wse@...edocomputers.com,
swboyd@...omium.org, gregkh@...uxfoundation.org,
hdegoede@...hat.com, mkorpershoek@...libre.com,
chenhuacai@...nel.org, wsa+renesas@...g-engineering.com,
tiwai@...e.de, linux-input@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH v2 1/2] Input: atkbd - Make it possible to apply atkbd.reset via kernel quirk
atkbd.reset was only a command line parameter. Some devices might have a
known bug that can be worked around by just permanently applying this
quirk.
This patch adds the ability to do this on the kernel level for known buggy
devices.
Signed-off-by: Werner Sembach <wse@...edocomputers.com>
Cc: stable@...r.kernel.org
---
drivers/input/keyboard/atkbd.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/drivers/input/keyboard/atkbd.c b/drivers/input/keyboard/atkbd.c
index 246958795f60..ef65c46c4efe 100644
--- a/drivers/input/keyboard/atkbd.c
+++ b/drivers/input/keyboard/atkbd.c
@@ -1731,6 +1731,12 @@ static int __init atkbd_deactivate_fixup(const struct dmi_system_id *id)
return 1;
}
+static int __init atkbd_reset_fixup(const struct dmi_system_id *id)
+{
+ atkbd_reset = true;
+ return 1;
+}
+
/*
* NOTE: do not add any more "force release" quirks to this table. The
* task of adjusting list of keys that should be "released" automatically
--
2.34.1
Powered by blists - more mailing lists