Files
Tomasz Pakuła b35f78fc15 HID: pidff: Fix set_device_control()
[ Upstream commit e2fa0bdf08 ]

As the search for Device Control report is permissive, make sure the
desired field was actually found, before trying to set it.

Fix bitmask clearing as it was erronously using index instead of
index - 1 (HID arrays index is 1-based).

Add last two missing Device Control usages to the defined array.
PID_PAUSE and PID_CONTINUE.

Signed-off-by: Jiri Kosina <jkosina@suse.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-04-20 10:17:57 +02:00
..
2023-10-25 18:33:42 +02:00
2024-08-29 10:39:37 +02:00
2024-09-27 08:18:43 -07:00