diff options
author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2018-04-24 11:04:36 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2018-04-26 15:17:55 +0300 |
commit | 7f81c8db54898a793cc2916a936f6bf3fca41434 (patch) | |
tree | 7ab9b12688965e4daeeb0712d40b9643f1f108d5 /kernel/irq/debug.h | |
parent | 40ec260363b2d3ca5b2e8d1a68c22bd609243411 (diff) | |
download | linux-7f81c8db54898a793cc2916a936f6bf3fca41434.tar.xz |
HID: multitouch: simplify the settings of the various features
The Win8 spec also declare other features we want to support:
latency and surface and button switches.
Though it doesn't seem we need to activate those by default, we have been
proved in the past that manufacturers rely on the Windows driver behavior
so we better mimic it to prevent further issues.
The current way of setting the features is cumbersome. It avoids iterating
over the list of features, but the way we store/retrieve the data just
doesn't scale with more than two values.
So iterate over the features when we decide to switch on the device and
make it simpler to extend.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'kernel/irq/debug.h')
0 files changed, 0 insertions, 0 deletions