linux-brain/drivers/hid/i2c-hid
Jim Broadus a02309beb2 HID: i2c-hid: Fix Elan touchpad regression
[ Upstream commit 786537063bbfb3a7ebc6fc21b2baf37fb91df401 ]

A quirk was recently added for Elan devices that has same device match
as an entry earlier in the list. The i2c_hid_lookup_quirk function will
always return the last match in the list, so the new entry shadows the
old entry. The quirk in the previous entry, I2C_HID_QUIRK_BOGUS_IRQ,
silenced a flood of messages which have reappeared in the 5.13 kernel.

This change moves the two quirk flags into the same entry.

Fixes: ca66a6770bd9 (HID: i2c-hid: Skip ELAN power-on command after reset)
Signed-off-by: Jim Broadus <jbroadus@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-09-22 12:26:25 +02:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
i2c-hid-core.c HID: i2c-hid: Fix Elan touchpad regression 2021-09-22 12:26:25 +02:00
i2c-hid-dmi-quirks.c HID: i2c-hid: add Vero K147 to descriptor override 2020-12-30 11:51:00 +01:00
i2c-hid.h HID: i2c-hid: override HID descriptors for certain devices 2018-09-29 21:25:59 +02:00