Input: psmouse - fix Synaptics detection when protocol is disabled
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 9 Jan 2018 21:44:46 +0000 (13:44 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 16 Jan 2018 21:30:51 +0000 (13:30 -0800)
commit2bc4298f59d2f15175bb568e2d356b5912d0cdd9
tree8f9d5739dd1985ef48329faa77f01ac484067c53
parentfaec44b6838312484d63e82286087cf2d5ebb891
Input: psmouse - fix Synaptics detection when protocol is disabled

When Synaptics protocol is disabled, we still need to try and detect the
hardware, so we can switch to SMBus device if SMbus is detected, or we know
that it is Synaptics device and reset it properly for the bare PS/2
protocol.

Fixes: c378b5119eb0 ("Input: psmouse - factor out common protocol probing code")
Reported-by: Matteo Croce <mcroce@redhat.com>
Tested-by: Matteo Croce <mcroce@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/psmouse-base.c