HID: multitouch: Apply MT_QUIRK_CONFIDENCE quirk for multi-input devices
authorKai-Heng Feng <kai.heng.feng@canonical.com>
Mon, 18 Jan 2021 13:45:23 +0000 (21:45 +0800)
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>
Mon, 25 Jan 2021 08:34:15 +0000 (09:34 +0100)
commit794c613383433ffc4fceec8eaa081b9f1962e287
tree41db3cdd62717c5b5098123b4b968555c2528343
parent7de843dbaaa68aa514090e6226ed7c6374fd7e49
HID: multitouch: Apply MT_QUIRK_CONFIDENCE quirk for multi-input devices

Palm ejection stops working on some Elan and Synaptics touchpad after
commit 40d5bb87377a ("HID: multitouch: enable multi-input as a quirk for
some devices").

The commit changes the mt_class from MT_CLS_WIN_8 to
MT_CLS_WIN_8_FORCE_MULTI_INPUT, so MT_QUIRK_CONFIDENCE isn't applied
anymore.

So also apply the quirk since MT_CLS_WIN_8_FORCE_MULTI_INPUT is
essentially MT_CLS_WIN_8.

Fixes: 40d5bb87377a ("HID: multitouch: enable multi-input as a quirk for some devices")
Cc: stable@vger.kernel.org
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
drivers/hid/hid-multitouch.c