summaryrefslogtreecommitdiffstats
path: root/include/linux/hid.h
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@thabit.(none)>2010-08-24 10:54:44 +0200
committerJiri Kosina <jkosina@suse.cz>2010-09-21 16:11:44 +0200
commit24750f3e469bef81a96c0036cd4700df5fb48925 (patch)
tree83277d19622844e56c97c498b5c305cd77d93d39 /include/linux/hid.h
parent9c03f1622af051004416dd3e24d8a0fa31e34178 (diff)
downloadop-kernel-dev-24750f3e469bef81a96c0036cd4700df5fb48925.zip
op-kernel-dev-24750f3e469bef81a96c0036cd4700df5fb48925.tar.gz
HID: Add a hid quirk for input sync override
As of lately, HID devices which send per-frame data split over several HID reports have started to emerge. This patch adds a quirk which allows the HID driver to take over the input layer synchronization, and hence the control of the frame boundary. Signed-off-by: Henrik Rydberg <rydberg@euromail.se> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'include/linux/hid.h')
-rw-r--r--include/linux/hid.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/hid.h b/include/linux/hid.h
index 42a0f1d..4cfe02c 100644
--- a/include/linux/hid.h
+++ b/include/linux/hid.h
@@ -316,6 +316,7 @@ struct hid_item {
#define HID_QUIRK_FULLSPEED_INTERVAL 0x10000000
#define HID_QUIRK_NO_INIT_REPORTS 0x20000000
#define HID_QUIRK_NO_IGNORE 0x40000000
+#define HID_QUIRK_NO_INPUT_SYNC 0x80000000
/*
* This is the global environment of the parser. This information is
OpenPOWER on IntegriCloud