]> git.baikalelectronics.ru Git - kernel.git/commit
Input: i8042 - fix AUX port detection with some chips
authorRoland Scheidegger <sroland@tungstengraphics.com>
Tue, 8 May 2007 05:31:40 +0000 (01:31 -0400)
committerDmitry Torokhov <dtor@insightbb.com>
Tue, 8 May 2007 05:31:40 +0000 (01:31 -0400)
commit566acc89cca250f9311a1ae80f67c399a003b648
treec8fe7ebaf381f6874e768b21f978bff887137852
parente2b1ff47197ed40e4ce0692bcabebe20d07a88c3
Input: i8042 - fix AUX port detection with some chips

The i8042 driver fails detection of the AUX port with some chips,
because they apparently do not change the I8042_CTR_AUXDIS bit
immediately. This is known to affect at least HP500/HP510 notebooks,
consequently the built-in touchpad will not work. The patch will simply
reread the value until it gets the expected value or a retry limit is
hit, without touching other workaround code in the same area.

Signed-off-by: Roland Scheidegger <sroland@tungstengraphics.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/serio/i8042.c