aboutsummaryrefslogtreecommitdiff
path: root/sound/pcmcia
diff options
context:
space:
mode:
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>2018-07-13 16:13:50 +0200
committerJiri Kosina <jkosina@suse.cz>2018-07-17 15:33:47 +0200
commit08a8a7cf14595f95d5cbb28ef5c15c56a6255fb4 (patch)
tree7b51d919ff29ee607b2229bd69f6a9059975c131 /sound/pcmcia
parentba6b055e0f3b4ff4942e4ab273260affcfad9bff (diff)
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 'sound/pcmcia')
0 files changed, 0 insertions, 0 deletions