Input: add ps2_drain() to libps2 to allow reading and discarding
authorDmitry Torokhov <dtor_core@ameritech.net>
Wed, 1 Jun 2005 07:39:51 +0000 (02:39 -0500)
committerDmitry Torokhov <dtor_core@ameritech.net>
Wed, 1 Jun 2005 07:39:51 +0000 (02:39 -0500)
commitc611763d048990de5cdf848d97af6392f8fa7430
tree751da02aaf502efd102ba66bd11054a45f18a03f
parent04df1925fcda9a35c716423ad2b73abd70eb0913
Input: add ps2_drain() to libps2 to allow reading and discarding
       given number of bytes from device. Change ps2_command to
       allow using 0 as command ID and actually pass it to the
       device instead of working as a drain.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/mouse/alps.c
drivers/input/serio/libps2.c
include/linux/libps2.h