Vicki Pfau
4c8f958a07
HID: hid-steam: Don't use cancel_delayed_work_sync in IRQ context
...
commit b051ffa2aeb2a60e092387b6fb2af1ad42f51a3c upstream.
Lockdep reported that, as steam_do_deck_input_event is called from
steam_raw_event inside of an IRQ context, it can lead to issues if that IRQ
occurs while the work to be cancelled is running. By using cancel_delayed_work,
this issue can be avoided. The exact ordering of the work and the event
processing is not super important, so this is safe.
Fixes: cd438e57dd05 ("HID: hid-steam: Add gamepad-only mode switched to by holding options")
Signed-off-by: Vicki Pfau <vi@endrift.com >
Signed-off-by: Jiri Kosina <jkosina@suse.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2025-02-21 13:57:27 +01:00
..
2024-10-17 15:24:33 +02:00
2024-02-23 09:24:55 +01:00
2024-10-17 15:24:31 +02:00
2024-10-17 15:24:34 +02:00
2023-02-22 11:24:42 -08:00
2023-02-22 10:27:57 +01:00
2022-12-20 15:30:35 +01:00
2021-05-05 14:29:13 +02:00
2019-05-30 11:26:32 -07:00
2022-11-21 22:17:10 +01:00
2023-12-20 17:01:58 +01:00
2020-03-13 17:33:11 +01:00
2024-10-17 15:24:32 +02:00
2019-05-21 10:50:45 +02:00
2019-10-03 15:36:40 -04:00
2019-05-30 11:26:32 -07:00
2023-01-18 16:34:35 +01:00
2023-02-16 12:00:26 +01:00
2019-05-30 11:26:32 -07:00
2021-12-02 15:36:18 +01:00
2021-07-28 11:51:07 +02:00
2025-02-08 09:51:45 +01:00
2021-12-02 15:36:18 +01:00
2024-09-12 11:11:39 +02:00
2023-11-20 11:59:22 +01:00
2019-09-03 16:52:04 +02:00
2020-10-23 13:23:44 +02:00
2024-07-25 09:50:44 +02:00
2019-10-03 15:36:40 -04:00
2022-11-21 22:17:10 +01:00
2023-01-20 18:44:10 +01:00
2022-02-17 14:14:41 +01:00
2019-10-03 15:36:40 -04:00
2023-02-06 18:17:56 +01:00
2019-05-30 11:26:32 -07:00
2022-11-11 11:09:36 +01:00
2019-10-03 15:36:40 -04:00
2019-05-30 11:26:32 -07:00
2024-12-14 20:00:00 +01:00
2019-08-22 17:11:58 +02:00
2023-12-20 17:01:58 +01:00
2023-05-23 15:09:24 +02:00
2023-08-14 11:35:37 +02:00
2021-05-27 15:40:34 +02:00
2019-05-30 11:26:32 -07:00
2023-09-18 17:13:01 +02:00
2021-12-20 11:25:42 +01:00
2019-10-03 15:36:40 -04:00
2024-12-09 10:31:58 +01:00
2019-05-30 11:26:32 -07:00
2025-02-01 18:37:54 +01:00
2022-12-20 15:30:35 +01:00
2025-02-08 09:51:56 +01:00
2022-11-14 23:55:12 +01:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2023-04-13 16:16:04 +02:00
2019-05-30 11:26:32 -07:00
2022-04-21 10:28:49 +02:00
2024-11-17 15:08:58 +01:00
2023-01-17 13:44:01 +01:00
2019-10-03 15:36:40 -04:00
2019-10-03 15:36:40 -04:00
2022-11-14 23:56:52 +01:00
2017-11-02 11:10:55 +01:00
2023-04-13 17:08:45 +02:00
2021-12-02 15:36:18 +01:00
2017-11-02 11:10:55 +01:00
2019-10-03 15:36:40 -04:00
2024-06-21 14:38:31 +02:00
2024-03-01 13:34:50 +01:00
2020-08-17 11:38:49 +02:00
2024-12-14 20:00:01 +01:00
2019-01-14 20:11:01 +01:00
2024-10-17 15:24:31 +02:00
2024-06-12 11:11:22 +02:00
2022-05-06 08:29:26 +02:00
2020-11-25 14:30:33 +01:00
2023-06-08 16:09:51 +02:00
2019-05-30 11:26:32 -07:00
2025-02-21 13:57:06 +01:00
2024-01-20 11:51:45 +01:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2024-06-21 14:38:26 +02:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-06-05 17:30:28 +02:00
2020-09-03 16:18:55 +02:00
2021-04-07 18:46:20 +02:00
2019-06-05 17:30:28 +02:00
2023-07-24 16:50:39 +02:00
2019-06-05 17:30:28 +02:00
2019-06-05 17:30:28 +02:00
2019-06-05 17:30:28 +02:00
2019-05-30 11:26:35 -07:00
2024-10-17 15:24:33 +02:00
2023-02-22 10:40:03 +01:00
2019-06-05 17:36:37 +02:00
2021-12-02 15:36:18 +01:00
2022-09-20 11:36:21 +01:00
2023-12-20 17:01:59 +01:00
2022-02-16 17:12:14 +01:00
2018-06-25 15:23:40 +02:00
2019-05-30 11:26:32 -07:00
2022-11-21 18:56:20 +01:00
2023-08-14 11:23:35 +02:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2023-08-14 11:23:35 +02:00
2019-05-30 11:26:32 -07:00
2023-08-14 11:23:35 +02:00
2021-09-25 08:20:48 -07:00
2023-08-14 11:23:35 +02:00
2019-05-30 11:26:32 -07:00
2023-08-14 11:23:35 +02:00
2023-08-14 11:23:35 +02:00
2019-05-30 11:26:32 -07:00
2021-12-02 15:36:18 +01:00
2019-05-30 11:26:32 -07:00
2023-08-14 11:23:35 +02:00
2019-05-30 11:26:32 -07:00
2023-08-14 11:23:35 +02:00
2023-08-14 11:23:35 +02:00
2019-05-30 11:26:32 -07:00
2023-08-14 11:23:35 +02:00
2022-10-18 14:42:45 +02:00
2021-12-02 15:36:18 +01:00
2021-05-05 14:21:08 +02:00
2023-03-24 14:09:29 +01:00
2025-02-17 09:40:21 +01:00
2022-02-02 15:12:22 +01:00
2019-05-30 11:26:35 -07:00
2023-10-05 12:50:35 +02:00
2019-05-30 11:26:32 -07:00
2025-02-21 13:57:27 +01:00
2023-09-18 16:44:24 +02:00
2019-05-30 11:26:32 -07:00
2025-02-21 13:57:06 +01:00
2019-05-30 11:26:32 -07:00
2021-12-14 10:50:23 +01:00
2023-03-10 18:59:51 +01:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:29:19 -07:00
2022-11-25 17:39:19 +08:00
2023-11-20 11:59:22 +01:00
2023-08-24 15:57:57 +02:00
2023-11-20 11:59:22 +01:00
2023-02-22 10:41:39 +01:00
2023-01-18 09:44:57 +01:00
2023-01-18 09:47:04 +01:00
2023-01-18 09:44:57 +01:00
2023-01-18 09:44:57 +01:00
2020-07-20 12:24:41 +02:00
2022-05-11 14:19:27 +02:00
2022-08-25 11:37:21 +02:00
2022-08-25 11:37:21 +02:00
2022-08-25 11:37:21 +02:00
2022-09-20 11:35:00 +01:00
2019-05-30 11:26:32 -07: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
2021-09-22 11:53:07 +02:00
2019-05-30 11:26:32 -07:00
2019-10-03 15:36:40 -04:00
2019-05-30 11:26:32 -07:00
2024-02-05 20:14:34 +00:00
2024-10-17 15:24:31 +02:00
2024-10-17 15:24:31 +02:00
2023-02-23 11:52:05 +01:00
2024-12-14 19:59:51 +01:00
2025-02-17 09:40:07 +01:00
2024-10-04 16:29:12 +02:00
2023-08-14 11:43:57 +02:00