]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita12280d057a7e7d5f7eff5e8fe17530d04472cd6
tree8f9d5739dd1985ef48329faa77f01ac484067c53
parent8985db283223676b436b57c0654a55816b0aa74e
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: ccb24f7033bb ("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