aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
authorVojtech Pavlik <vojtech@suse.cz>2006-03-14 00:10:08 -0500
committerDmitry Torokhov <dtor_core@ameritech.net>2006-03-14 00:10:08 -0500
commit380e19e2d8aa8fd4739503d890755a717ce20b4f (patch)
tree0dd6e553eb39c03d9d07d3931383f740be7297fd /drivers/input
parent9b104c12f12d6b9923e3b779a1f3e45efab7bae6 (diff)
Input: atkbd - disable softrepeat for dumb keyboards
Do not activate softrepeat by default on dumb keyboards as it clashes with their own hardware repeat (for example Dell DRAC3). Softrepeat can still be activated manually via module parameter or sysfs. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/keyboard/atkbd.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/input/keyboard/atkbd.c b/drivers/input/keyboard/atkbd.c
index 7d26ab4818b2..fad04b66d268 100644
--- a/drivers/input/keyboard/atkbd.c
+++ b/drivers/input/keyboard/atkbd.c
@@ -863,9 +863,6 @@ static int atkbd_connect(struct serio *serio, struct serio_driver *drv)
863 atkbd->softrepeat = atkbd_softrepeat; 863 atkbd->softrepeat = atkbd_softrepeat;
864 atkbd->scroll = atkbd_scroll; 864 atkbd->scroll = atkbd_scroll;
865 865
866 if (!atkbd->write)
867 atkbd->softrepeat = 1;
868
869 if (atkbd->softrepeat) 866 if (atkbd->softrepeat)
870 atkbd->softraw = 1; 867 atkbd->softraw = 1;
871 868