From: Dmitry Torokhov Date: Tue, 3 Nov 2009 05:57:40 +0000 (-0800) Subject: Input: i8042 - try to get stable CTR value when initializing X-Git-Tag: v2.6.32-rc6~5^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee1e82cee5e463a885d3c71acb2c769490e6927f;p=pandora-kernel.git 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 Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed