Skip to content
Commit ee9dfd7a authored by Dmitry Torokhov's avatar Dmitry Torokhov
Browse files

Input: psmouse - make sure we do not use stale methods



Several protocol initialization routines can fail after they set up
psmouse methods, such as reconnect and disconnect. This may lead to
these stale methods used with different protocol that they were
intended to be used for and may cause unpredictavle behavior and/or
crashes.

Make sure we start with a clean slate before executing each and every
protocol detection and/or initialization routine.

Reported-by: default avatarPaul Fox <pgf@laptop.org>
Acked-by: default avatarTai-hwa Liang <avatar@sentelic.com>
Acked-by: default avatarPaul Fox <pgf@laptop.org>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 509f87c5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment