From: Dmitry Torokhov Date: Thu, 9 Apr 2015 16:52:31 +0000 (-0700) Subject: Input: atkbd - document "no new force-release quirks" policy X-Git-Tag: firefly_0821_release~176^2~541^2~76^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8b8a518ef16be2de27207991e32fc32b0475c767;p=firefly-linux-kernel-4.4.55.git Input: atkbd - document "no new force-release quirks" policy To save people some time let's document that we do not want new quirks for "force-release" keys in the kernel and that they should patch userspace (udev) instead. Suggested-by: Pali Rohár Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/keyboard/atkbd.c b/drivers/input/keyboard/atkbd.c index 387c51f4b4e4..ec876b5b1382 100644 --- a/drivers/input/keyboard/atkbd.c +++ b/drivers/input/keyboard/atkbd.c @@ -1653,6 +1653,12 @@ static int __init atkbd_deactivate_fixup(const struct dmi_system_id *id) 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 + * by the driver is now delegated to userspace tools, such as udev, so + * submit such quirks there. + */ static const struct dmi_system_id atkbd_dmi_quirk_table[] __initconst = { { .matches = {