commit | ee1e82cee5e463a885d3c71acb2c769490e6927f | [log] [tgz] |
---|---|---|
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Mon Nov 02 21:57:40 2009 -0800 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Mon Nov 02 22:11:43 2009 -0800 |
tree | 288e9baeae958db78a170e18b8c885699cfbf198 | |
parent | 7a53c7f56bbfc9b0ef892e68f5cfae3d902544d1 [diff] |
Input: i8042 - try to get stable CTR value when initializing If user presses keys while i8042 is being initialized there is a chance that keyboard data will be mistaken for results of Read Control Register command causing futher troubles. Work around this issue by reading CTR several times and stop when we get matching results. Reported-and-tested-by: Dave Young <hidave.darkstar@gmail.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>