diff options
author | Jim Broadus <jbroadus@gmail.com> | 2021-08-08 23:55:05 -0700 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2021-08-20 14:51:44 +0200 |
commit | 786537063bbfb3a7ebc6fc21b2baf37fb91df401 (patch) | |
tree | 8d2bd8606661d799cc8ae0fb26dc7c2acca42283 /drivers/hid/Makefile | |
parent | 87c7ee7ad85afafc00f3ee70a61b0b5421584626 (diff) | |
download | linux-786537063bbfb3a7ebc6fc21b2baf37fb91df401.tar.bz2 |
HID: i2c-hid: Fix Elan touchpad regression
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>
Diffstat (limited to 'drivers/hid/Makefile')
0 files changed, 0 insertions, 0 deletions