]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 May 2018 05:50:19 +0000 (07:50 +0200)
commit0073fb55b18a22e254135e1f493c6d2c4a2068ed
tree0c911ceae84536be49eb92e44da14697600bc300
parent9c1a1a9154c2055b146eb1c855d7d528a27fa7c0
Input: psmouse - fix Synaptics detection when protocol is disabled

[ Upstream commit 2bc4298f59d2f15175bb568e2d356b5912d0cdd9 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/input/mouse/psmouse-base.c