提交 38ead6ef 编写于 作者: P Paul Chavent 提交者: Jiri Kosina

HID: core: fix hid delimiter local tag parsing.

When device with the DELIMITER tag in its report descriptor is encountered
during parsing, it's mistakenly immediately refused by HID core for no
justifiable reason.

[jkosina@suse.cz: polish changelog]
Signed-off-by: NPaul Chavent <paul.chavent@onera.fr>
Signed-off-by: NJiri Kosina <jkosina@suse.cz>
上级 3366dd9f
......@@ -450,7 +450,7 @@ static int hid_parser_local(struct hid_parser *parser, struct hid_item *item)
}
parser->local.delimiter_depth--;
}
return 1;
return 0;
case HID_LOCAL_ITEM_TAG_USAGE:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册