summaryrefslogtreecommitdiff
path: root/drivers/input/keyboard/atkbd.c
diff options
context:
space:
mode:
authorVojtech Pavlik <vojtech@suse.cz>2006-03-14 08:10:08 +0300
committerDmitry Torokhov <dtor_core@ameritech.net>2006-03-14 08:10:08 +0300
commit380e19e2d8aa8fd4739503d890755a717ce20b4f (patch)
tree0dd6e553eb39c03d9d07d3931383f740be7297fd /drivers/input/keyboard/atkbd.c
parent9b104c12f12d6b9923e3b779a1f3e45efab7bae6 (diff)
downloadlinux-380e19e2d8aa8fd4739503d890755a717ce20b4f.tar.xz
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/keyboard/atkbd.c')
-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)
atkbd->softrepeat = atkbd_softrepeat;
atkbd->scroll = atkbd_scroll;
- if (!atkbd->write)
- atkbd->softrepeat = 1;
-
if (atkbd->softrepeat)
atkbd->softraw = 1;