hid: fix typo in hid_is_collection

hid_input is equal to 0. It is leftover from NetBSD code.

Reviewed by:	hselasky, wulf
MFC after:	1 month
Differential revision:	https://reviews.freebsd.org/D28149
This commit is contained in:
Hu Shunchao 2023-04-24 14:17:51 +03:00 committed by Vladimir Kondratyev
parent 176939bd36
commit 6ed3b9ca25

View File

@ -799,7 +799,7 @@ hid_is_collection(const void *desc, hid_size_t size, int32_t usage)
struct hid_item hi;
int err;
hd = hid_start_parse(desc, size, hid_input);
hd = hid_start_parse(desc, size, 0);
if (hd == NULL)
return (0);