]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commitd2ada5597d33a9108acb2caf912f85cbc9caab1e
treec8fe7ebaf381f6874e768b21f978bff887137852
parent334d0dd8b660557608142f0f77abc6812b48f08b
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