diff options
author | Jeffrey Hugo <jeffrey.l.hugo@gmail.com> | 2019-06-30 00:16:41 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2019-06-30 00:18:14 -0700 |
commit | d69f62bed792fc0564198f2406151b0ea008b299 (patch) | |
tree | 55f5353a1b5bd15607b670704258cb9c0e9b0651 /drivers/input/touchscreen | |
parent | 0828c1001399d5c5fcab547ef7b0a29c78d4bdf6 (diff) | |
download | linux-d69f62bed792fc0564198f2406151b0ea008b299.tar.bz2 |
HID: quirks: Refactor ELAN 400 and 401 handling
There needs to be coordination between hid-quirks and the elan_i2c driver
about which devices are handled by what drivers. Currently, both use
whitelists, which results in valid devices being unhandled by default,
when they should not be rejected by hid-quirks. This is quickly becoming
an issue.
Since elan_i2c has a maintained whitelist of what devices it will handle,
which is now in a header file that hid-quirks can access, use that to
implement a blacklist in hid-quirks so that only the devices that need to
be handled by elan_i2c get rejected by hid-quirks, and everything else is
handled by default.
Suggested-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jeffrey Hugo <jeffrey.l.hugo@gmail.com>
Acked-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/touchscreen')
0 files changed, 0 insertions, 0 deletions