Re: [PATCH] HID: core: Fix deadloop in hid_apply_multiplier.

From: Benjamin Tissoires
Date: Mon Feb 06 2023 - 08:31:57 EST


On Mon, 30 Jan 2023 21:29:47 +0000, Xin Zhao wrote:
> The initial value of hid->collection[].parent_idx if 0. When
> Report descriptor doesn't contain "HID Collection", the value
> remains as 0.
>
> In the meanwhile, when the Report descriptor fullfill
> all following conditions, it will trigger hid_apply_multiplier
> function call.
> 1. Usage page is Generic Desktop Ctrls (0x01)
> 2. Usage is RESOLUTION_MULTIPLIER (0x48)
> 3. Contain any FEATURE items
>
> [...]

Applied to hid/hid.git (for-6.2/upstream-fixes), thanks!

[1/1] HID: core: Fix deadloop in hid_apply_multiplier.
https://git.kernel.org/hid/hid/c/ea427a222d8b

Cheers,
--
Benjamin Tissoires <benjamin.tissoires@xxxxxxxxxx>