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
..
2024-10-09 17:18:57 +02:00
2024-11-28 14:49:51 +01:00
2025-04-10 14:41:53 +02:00
2025-03-22 12:56:46 -07:00
2024-12-01 15:12:43 -08:00
2025-04-20 10:17:57 +02:00
2022-12-20 15:30:35 +01:00
2024-06-06 10:52:48 +02:00
2024-10-02 17:23:23 -04:00
2025-03-22 12:56:59 -07:00
2025-03-13 13:07:40 +01:00
2025-02-17 11:36:04 +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 10:01:54 +01:00
2025-03-13 13:07:40 +01:00
2024-08-27 16:29:55 +02:00
2024-08-27 16:29:55 +02:00
2024-10-18 12:50:08 +02:00
2024-08-27 16:29:55 +02:00
2024-10-18 12:24:52 +02:00
2024-09-05 16:20:56 +02:00
2022-11-21 22:17:10 +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-06-06 10:52:48 +02:00
2024-06-06 10:52:48 +02:00
2022-11-11 11:09:36 +01:00
2024-06-06 10:52:48 +02:00
2024-08-27 16:29:55 +02:00
2024-11-18 22:02:17 +01:00
2024-08-27 16:29:55 +02:00
2024-11-13 10:56:37 +01:00
2025-03-13 13:07:51 +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-11-12 10:15:30 +01:00
2025-04-20 10:17:56 +02:00
2022-12-20 15:30:35 +01:00
2025-02-08 10:01:14 +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-10-18 12:28:40 +02:00
2024-07-10 09:11:27 +02:00
2022-04-21 10:28:49 +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-10-18 12:50:08 +02: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-11-18 21:58:55 +01:00
2024-08-27 16:29:55 +02:00
2024-11-11 22:49:28 +01:00
2024-09-05 16:20:56 +02:00
2023-11-21 09:27:18 +01: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:10:43 +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-11-22 16:29:57 -08:00
2024-09-30 16:49:42 +01:00
2024-06-06 10:52:48 +02:00
2025-04-07 10:09:34 +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:56:46 -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
2023-10-25 18:33:42 +02:00
2023-08-14 11:23:35 +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
2023-08-14 11:23:35 +02:00
2024-04-03 13:42:04 +02:00
2024-04-03 13:42:04 +02:00
2023-08-14 11:23:35 +02:00
2023-08-14 11:23:35 +02:00
2023-08-14 11:23:35 +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-12-01 15:12:43 -08:00
2025-02-17 11:36:26 +01:00
2024-08-27 16:29:55 +02:00
2024-06-06 10:52:48 +02:00
2024-10-18 12:50:08 +02:00
2024-06-06 10:52:48 +02:00
2025-03-22 12:56:46 -07:00
2024-11-06 15:10:32 +01:00
2024-08-27 16:29:55 +02:00
2025-02-21 14:10:44 +01:00
2024-06-06 10:52:48 +02:00
2024-06-06 10:52:48 +02:00
2025-03-22 12:56:46 -07:00
2024-06-06 10:52:48 +02:00
2024-06-06 10:52:48 +02:00
2022-11-25 17:39:19 +08:00
2023-10-25 16:25:47 +02:00
2024-09-05 16:20:57 +02:00
2023-10-25 16:25:47 +02:00
2024-10-02 17:23:23 -04:00
2024-09-05 16:20:57 +02:00
2024-12-02 11:34:44 -08:00
2024-10-02 17:23:23 -04:00
2024-09-05 16:20:57 +02:00
2025-04-20 10:17:56 +02:00
2024-09-05 16:20:57 +02:00
2024-06-06 10:52:48 +02:00
2022-08-25 11:37:21 +02:00
2022-08-25 11:37:21 +02:00
2024-09-05 16:20:57 +02:00
2024-09-05 16:20:57 +02:00
2022-12-25 13:38:09 -08:00
2023-08-14 11:14:42 +02:00
2022-11-04 09:57:16 +01:00
2022-11-04 09:57:16 +01:00
2025-02-21 14:10:43 +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:17:38 +02:00
2025-04-20 10:17:38 +02:00
2024-09-27 08:18:43 -07:00
2025-02-01 17:21:24 +01:00
2025-02-17 11:36:02 +01:00
2024-10-18 12:48:35 +02:00
2024-10-02 17:23:23 -04:00