Input: atkbd - speed up setting leds/repeat state
authorDmitry Torokhov <dtor_core@ameritech.net>
Sun, 20 Nov 2005 05:49:42 +0000 (00:49 -0500)
committerDmitry Torokhov <dtor_core@ameritech.net>
Sun, 20 Nov 2005 05:49:42 +0000 (00:49 -0500)
commit0d4c859734a818721b2d5ac712283ba8f92bd23a
treed9735f6da17572f45ebe47f8f200ac7161129f79
parent3bedff1d73b86e0cf52634efb447e9ada08f2cc6
Input: atkbd - speed up setting leds/repeat state

Changing led state is pretty slow operation; when there are multiple
requests coming at a high rate they may interfere with normal typing.
Try optimize (skip) changing hardware state when multiple requests
are coming back-to-back.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/keyboard/atkbd.c