Tomasz Pakuła
bdbc38bd12
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:15:31 +02:00
..
2024-10-09 17:18:57 +02:00
2024-09-27 20:15:21 +02:00
2025-04-10 14:39:29 +02:00
2025-03-22 12:54:16 -07:00
2024-10-02 17:23:23 -04:00
2025-04-20 10:15:31 +02:00
2024-06-06 10:52:48 +02:00
2024-10-02 17:23:23 -04:00
2025-03-22 12:54:28 -07:00
2025-03-13 13:01:50 +01:00
2025-02-17 10:04:53 +01:00
2024-08-27 16:29:55 +02:00
2024-06-06 10:52:48 +02:00
2024-06-06 10:52:48 +02:00
2024-09-05 16:20:56 +02:00
2024-08-27 16:29:55 +02:00
2024-08-27 16:29:55 +02:00
2024-08-27 16:30:43 +02:00
2025-02-08 09:56:55 +01:00
2024-08-27 16:29:55 +02:00
2024-08-27 16:29:55 +02:00
2024-09-13 15:39:37 +02:00
2024-08-27 16:29:55 +02:00
2024-06-07 11:08:07 +02:00
2024-09-05 16:20:56 +02:00
2024-08-27 16:29:55 +02:00
2024-06-06 10:52:48 +02:00
2024-06-06 10:52:48 +02:00
2024-06-06 10:52:48 +02:00
2024-06-06 10:52:48 +02:00
2024-06-06 10:52:48 +02:00
2024-08-27 16:29:55 +02:00
2024-12-14 20:03:39 +01:00
2024-08-27 16:29:55 +02:00
2024-10-02 17:23:23 -04:00
2025-03-13 13:02:00 +01:00
2024-06-06 10:52:48 +02:00
2024-06-06 10:52:48 +02:00
2024-09-05 16:20:56 +02:00
2024-08-27 16:29:55 +02:00
2024-12-05 14:01:35 +01:00
2025-04-20 10:15:30 +02:00
2025-02-08 09:57:11 +01:00
2024-08-27 16:29:55 +02:00
2024-07-12 18:28:03 +02:00
2024-09-05 16:20:56 +02:00
2024-10-02 17:23:23 -04:00
2024-07-10 09:11:27 +02:00
2024-10-18 12:36:11 +02:00
2024-10-02 17:23:23 -04:00
2024-02-13 11:43:55 +01:00
2024-06-06 10:52:09 +02:00
2024-09-06 10:06:02 +02:00
2024-10-02 17:23:23 -04:00
2024-10-02 17:23:23 -04:00
2024-08-27 16:29:55 +02:00
2024-12-14 20:03:41 +01:00
2024-09-05 16:20:56 +02:00
2024-07-12 18:30:11 +02:00
2024-06-06 10:52:48 +02:00
2024-06-06 10:52:48 +02:00
2024-08-27 16:29:55 +02:00
2024-08-27 16:29:55 +02:00
2025-02-21 14:01:15 +01:00
2024-10-02 17:23:23 -04:00
2024-08-27 16:29:55 +02:00
2024-06-06 10:52:48 +02:00
2024-05-23 14:17:22 +02:00
2024-08-27 16:29:55 +02:00
2024-08-27 16:29:55 +02:00
2024-09-05 10:55:15 +02:00
2024-05-22 10:45:12 -07:00
2024-05-22 10:45:12 -07:00
2024-05-03 10:45:34 +01:00
2024-06-06 10:52:48 +02:00
2025-04-07 10:08:35 +02:00
2024-10-02 17:23:23 -04:00
2024-06-06 10:52:48 +02:00
2024-08-27 16:29:55 +02:00
2024-09-05 16:20:57 +02:00
2025-03-22 12:54:16 -07:00
2024-06-06 10:52:48 +02:00
2024-08-27 16:29:55 +02:00
2024-06-06 10:52:48 +02:00
2024-04-03 13:42:04 +02:00
2024-04-03 13:42:04 +02:00
2024-04-03 13:42:04 +02:00
2024-04-03 13:42:04 +02:00
2024-04-03 13:42:04 +02:00
2024-08-27 16:29:55 +02:00
2024-08-27 16:29:55 +02:00
2024-08-27 16:29:55 +02:00
2024-09-03 14:00:05 +02:00
2025-02-17 10:05:13 +01:00
2024-08-27 16:29:55 +02:00
2024-06-06 10:52:48 +02:00
2024-10-02 17:23:23 -04:00
2024-06-06 10:52:48 +02:00
2025-03-22 12:54:16 -07:00
2024-09-05 16:20:57 +02:00
2024-08-27 16:29:55 +02:00
2025-02-21 14:01:15 +01:00
2024-06-06 10:52:48 +02:00
2024-06-06 10:52:48 +02:00
2025-03-22 12:54:16 -07:00
2024-06-06 10:52:48 +02:00
2024-06-06 10:52:48 +02:00
2024-09-05 16:20:57 +02:00
2024-10-02 17:23:23 -04:00
2024-09-05 16:20:57 +02:00
2024-06-19 16:33:10 +02:00
2024-10-02 17:23:23 -04:00
2024-09-05 16:20:57 +02:00
2025-04-20 10:15:30 +02:00
2024-09-05 16:20:57 +02:00
2024-06-06 10:52:48 +02:00
2024-09-05 16:20:57 +02:00
2024-09-05 16:20:57 +02:00
2025-02-21 14:01:15 +01:00
2024-09-05 16:20:57 +02:00
2024-06-06 10:52:48 +02:00
2024-06-06 10:52:48 +02:00
2024-08-27 16:29:55 +02:00
2024-08-29 10:39:37 +02:00
2025-04-20 10:15:14 +02:00
2025-04-20 10:15:14 +02:00
2024-09-27 08:18:43 -07:00
2025-02-01 18:39:39 +01:00
2025-02-17 10:04:51 +01:00
2024-09-10 23:47:03 +02:00
2024-10-02 17:23:23 -04:00