Input: psmouse - make sure we don't schedule reconnects after cleanup
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 8 Feb 2010 07:10:04 +0000 (23:10 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 8 Feb 2010 07:53:41 +0000 (23:53 -0800)
commita9f0c381973097462d9688dc26fe66f4f020502e
tree07fcd17f872f6d57eadc9de61cff7af5255e9898
parentf6bdc2303da6786cc22a7d24b6790e9f75b4cfdc
Input: psmouse - make sure we don't schedule reconnects after cleanup

Set state of the device as "initializing" during and after cleanup
to ensure that unsolicited data from the device is not passed on.
We especially want to avoid processing new device announcements
"0xaa 0x00" that can come up before we perform reconnect operation.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/mouse/psmouse-base.c