diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2011-12-30 15:16:45 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2011-12-30 15:26:36 -0800 |
commit | ee9dfd7a1d1256b0f51a0bf54bed0a8927c8e2ea (patch) | |
tree | 68969aa5568644cc3908f07371992aedba70f7f0 /drivers/input/mouse/elantech.c | |
parent | 509f87c5f564627b6b9fc763e74ef3608213d610 (diff) |
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: Paul Fox <pgf@laptop.org>
Acked-by: Tai-hwa Liang <avatar@sentelic.com>
Acked-by: Paul Fox <pgf@laptop.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/mouse/elantech.c')
0 files changed, 0 insertions, 0 deletions