Skip to content
Commit 78653706 authored by Jim Broadus's avatar Jim Broadus Committed by Jiri Kosina
Browse files

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: ca66a677 (HID: i2c-hid: Skip ELAN power-on command after reset)
Signed-off-by: default avatarJim Broadus <jbroadus@gmail.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 87c7ee7a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment