diff options
author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2018-07-13 16:13:50 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2018-07-17 15:33:47 +0200 |
commit | 08a8a7cf14595f95d5cbb28ef5c15c56a6255fb4 (patch) | |
tree | 7b51d919ff29ee607b2229bd69f6a9059975c131 /drivers/hid/hid-microsoft.c | |
parent | HID: input: enable Totem on the Dell Canvas 27 (diff) | |
download | linux-08a8a7cf14595f95d5cbb28ef5c15c56a6255fb4.tar.xz linux-08a8a7cf14595f95d5cbb28ef5c15c56a6255fb4.zip |
HID: core: do not upper bound the collection stack
Looks like 4 was sufficient until now. However, the Surface Dial needs
a stack of 5 and simply fails at probing.
Dynamically add HID_COLLECTION_STACK_SIZE to the size of the stack if
we hit the upper bound.
Checkpatch complains about bare unsigned, so converting those to
'unsigned int' in struct hid_parser
Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-microsoft.c')
0 files changed, 0 insertions, 0 deletions