Home
last modified time | relevance | path

Searched hist:"08 a8a7cf14595f95d5cbb28ef5c15c56a6255fb4" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/include/linux/
H A Dhid.hdiff 08a8a7cf14595f95d5cbb28ef5c15c56a6255fb4 Fri Jul 13 09:13:50 CDT 2018 Benjamin Tissoires <benjamin.tissoires@redhat.com> 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>
/openbmc/linux/drivers/hid/
H A Dhid-core.cdiff 08a8a7cf14595f95d5cbb28ef5c15c56a6255fb4 Fri Jul 13 09:13:50 CDT 2018 Benjamin Tissoires <benjamin.tissoires@redhat.com> 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>