Input: i8042 - don't use negation to mark AUX data
authorDmitry Torokhov <dtor_core@ameritech.net>
Fri, 15 Jul 2005 06:51:56 +0000 (01:51 -0500)
committerDmitry Torokhov <dtor_core@ameritech.net>
Fri, 15 Jul 2005 06:51:56 +0000 (01:51 -0500)
commit463a4f76a79bce00ca8964e0b2ebf7f10f376965
tree333f5dad75a76921ae88657377619a0b14ef1f67
parent7b4019d04895de7407c9989895c3664c24ed01f7
Input: i8042 - don't use negation to mark AUX data

Currently i8042_command() negates data coming from the AUX port
of keyboard controller; this is not a very reliable indicator.
Change i8042_command() to fail if response to I8042_CMD_AUX_LOOP
is not coming from AUX channel and get rid of negation.

Based on patch by Vojtech Pavlik.

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