projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ebf3d7
)
HID: Allow more fields in the hid report
author
Henrik Rydberg
<rydberg@euromail.se>
Mon, 3 Sep 2012 10:28:59 +0000
(12:28 +0200)
committer
Henrik Rydberg
<rydberg@euromail.se>
Wed, 19 Sep 2012 17:50:20 +0000
(19:50 +0200)
Some recent hardware define more than 128 fields in the report
descriptor. Increase the limit to 256. This adds another kilobyte of
memory per report.
Tested-by: Ping Cheng <pingc@wacom.com>
Acked-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
include/linux/hid.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/hid.h
b/include/linux/hid.h
index f37da28030050f6831d13fb62b85a049777dd287..7e1f37db7582260231fa8bb6edf435335e4e128b 100644
(file)
--- a/
include/linux/hid.h
+++ b/
include/linux/hid.h
@@
-414,7
+414,7
@@
struct hid_field {
__u16 dpad; /* dpad input code */
};
-#define HID_MAX_FIELDS
128
+#define HID_MAX_FIELDS
256
struct hid_report {
struct list_head list;