Bartosz Golaszewski
c31071eabb
gpiolib: extend the critical sections of lookup tables
...
There are two places in the code where we retrieve a lookup table using
gpiod_find_lookup_table() (which protects the table list with the lookup
table lock) and then use it after the lock is released.
We need to keep the lookup table mutex locked the entire time we're using
the tables. Remove the locking from gpiod_find_lookup_table() and use
guards to protect the code actually using the table objects.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
2023-10-02 15:34:32 +02:00
..
2022-02-09 13:00:45 +00:00
2023-07-29 16:03:17 +02:00
2023-07-27 09:37:33 +02:00
2023-04-11 21:08:31 +02:00
2023-08-11 14:23:29 +02:00
2023-05-23 10:09:11 +02:00
2021-05-21 15:29:53 +02:00
2023-06-16 11:02:07 +02:00
2023-08-03 15:58:45 +02:00
2023-10-02 08:53:57 +02:00
2022-11-30 17:18:35 +01:00
2023-10-02 08:54:09 +02:00
2022-10-19 17:03:55 +03:00
2023-03-10 16:17:20 +01:00
2023-03-10 16:17:19 +01:00
2023-07-19 13:24:01 +02:00
2023-07-19 13:26:22 +02:00
2021-05-21 15:43:26 +02:00
2021-04-14 10:19:22 +01:00
2021-12-17 17:39:35 +01:00
2023-10-02 08:54:20 +02:00
2023-10-02 08:54:26 +02:00
2023-08-03 15:58:46 +02:00
2023-07-19 13:24:01 +02:00
2022-06-06 14:09:16 +03:00
2020-12-12 01:37:46 +01:00
2022-10-19 17:03:55 +03:00
2021-05-21 14:45:57 +02:00
2023-07-29 15:58:32 +02:00
2023-10-02 08:54:31 +02:00
2023-07-29 15:56:33 +02:00
2023-09-11 11:17:06 +02:00
2023-09-13 14:13:32 +02:00
2023-03-06 17:10:46 +02:00
2021-12-17 17:39:35 +01:00
2022-02-02 10:16:19 +01:00
2023-01-27 14:05:38 +01:00
2023-07-29 16:04:38 +02:00
2023-09-11 09:03:44 +02:00
2023-10-02 08:54:36 +02:00
2023-10-02 08:58:01 +02:00
2023-07-27 09:33:07 +02:00
2023-01-30 15:55:28 +01:00
2023-10-02 08:54:41 +02:00
2023-05-23 10:09:11 +02:00
2023-03-10 16:17:27 +01:00
2023-07-19 13:24:01 +02:00
2023-01-30 15:55:28 +01:00
2023-01-30 15:55:28 +01:00
2023-03-09 16:08:39 +02:00
2023-08-11 14:23:32 +02:00
2023-08-11 14:23:32 +02:00
2023-03-10 16:17:30 +01:00
2023-08-11 16:20:02 +02:00
2021-05-05 16:07:41 +02:00
2023-08-03 15:58:48 +02:00
2022-10-26 14:52:01 +02:00
2023-10-02 08:54:46 +02:00
2023-07-29 16:05:50 +02:00
2023-03-23 14:31:18 +01:00
2023-09-27 09:06:50 +02:00
2022-06-10 14:51:36 +02:00
2023-08-01 21:14:48 +02:00
2022-06-10 14:51:36 +02:00
2023-10-02 08:54:50 +02:00
2023-08-03 15:58:49 +02:00
2021-10-13 19:52:26 +02:00
2023-08-03 15:56:30 +02:00
2023-08-03 15:58:50 +02:00
2023-05-23 10:09:11 +02:00
2022-02-09 13:00:45 +00:00
2023-08-01 21:15:23 +02:00
2023-10-02 08:54:55 +02:00
2022-02-09 13:00:45 +00:00
2022-04-25 12:10:02 +02:00
2023-03-06 17:10:46 +02:00
2022-05-20 19:20:35 +02:00
2023-03-10 16:17:32 +01:00
2023-08-24 10:04:04 +02:00
2023-10-02 08:55:00 +02:00
2023-07-18 20:59:25 +02:00
2023-09-11 11:17:02 +02:00
2021-04-09 14:54:23 -07:00
2023-10-02 08:55:09 +02:00
2023-10-02 08:55:04 +02:00
2023-07-19 13:24:01 +02:00
2022-10-08 09:46:29 -07:00
2023-07-20 14:38:36 +02:00
2023-08-21 14:11:16 +02:00
2023-08-11 16:21:46 +02:00
2023-10-02 08:55:14 +02:00
2023-08-01 21:22:38 +02:00
2023-10-02 08:57:48 +02:00
2023-08-21 10:39:58 +02:00
2023-08-22 11:41:17 +02:00
2022-06-21 18:01:11 +03:00
2023-08-11 14:23:31 +02:00
2023-08-11 14:23:33 +02:00
2023-07-20 17:22:10 +02:00
2022-10-24 12:29:26 +03:00
2023-08-01 21:25:30 +02:00
2023-07-19 13:24:01 +02:00
2023-08-03 15:58:52 +02:00
2023-08-01 21:26:48 +02:00
2023-10-02 08:55:18 +02:00
2023-03-23 14:31:18 +01:00
2022-08-31 17:46:30 +02:00
2023-03-06 12:33:02 +02:00
2023-03-06 12:33:02 +02:00
2023-10-02 08:55:23 +02:00
2023-05-17 11:56:24 +02:00
2023-08-01 21:27:38 +02:00
2023-05-17 11:52:14 +02:00
2023-08-03 15:44:46 +02:00
2023-07-25 12:00:42 +02:00
2023-10-02 11:14:23 +02:00
2023-03-23 14:31:18 +01:00
2022-11-15 15:41:45 +01:00
2021-08-12 11:39:38 +01:00
2022-06-10 14:51:35 +02:00
2023-07-19 13:24:01 +02:00
2023-03-23 14:31:18 +01:00
2023-07-19 13:24:01 +02:00
2023-08-03 15:44:49 +02:00
2023-05-23 10:22:25 +02:00
2023-03-06 17:10:46 +02:00
2023-10-02 08:55:55 +02:00
2022-10-03 20:56:46 +02:00
2023-07-19 13:24:01 +02:00
2023-07-19 13:24:01 +02:00
2023-03-23 14:31:18 +01:00
2023-08-03 15:44:49 +02:00
2022-02-25 09:59:35 +01:00
2023-05-23 10:09:11 +02:00
2023-07-19 13:24:01 +02:00
2023-05-17 11:40:40 +02:00
2023-08-03 15:55:34 +02:00
2023-06-13 14:49:56 +02:00
2023-07-19 13:24:01 +02:00
2021-05-24 20:58:46 +02:00
2023-07-19 13:22:13 +02:00
2023-08-03 15:47:58 +02:00
2023-07-19 13:24:01 +02:00
2023-07-19 13:24:01 +02:00
2023-10-02 08:55:27 +02:00
2023-05-31 17:01:34 +02:00
2021-12-17 17:50:46 +01:00
2023-10-02 08:55:32 +02:00
2023-08-22 11:39:32 +02:00
2021-08-31 11:29:28 +02:00
2022-01-14 18:50:52 -05:00
2023-03-23 14:31:18 +01:00
2023-08-03 15:48:15 +02:00
2023-07-19 13:24:01 +02:00
2022-06-06 14:09:16 +03:00
2022-06-23 16:29:55 +02:00
2021-12-17 17:50:46 +01:00
2022-10-24 12:29:41 +03:00
2021-05-25 16:21:14 +02:00
2023-08-29 10:21:56 -07:00
2023-10-02 08:55:38 +02:00
2021-05-23 20:30:26 +02:00
2023-10-02 08:55:42 +02:00
2023-10-02 08:55:46 +02:00
2023-03-23 14:31:19 +01:00
2023-08-03 15:58:54 +02:00
2023-08-03 15:48:27 +02:00
2023-10-02 08:55:50 +02:00
2021-09-23 10:09:58 +02:00
2023-09-11 13:28:55 +02:00
2023-03-06 12:33:02 +02:00
2023-09-25 09:42:23 +02:00
2023-01-30 15:55:28 +01:00
2023-06-01 09:52:39 +02:00
2023-10-02 09:45:43 +02:00
2023-03-06 12:33:02 +02:00
2023-03-06 12:33:02 +02:00
2022-11-15 11:21:43 +01:00
2023-08-16 13:34:31 +02:00
2022-10-24 12:30:26 +03:00
2023-10-02 15:34:32 +02:00
2023-09-12 10:05:58 +02:00
2023-09-11 11:16:56 +02:00
2023-07-29 15:56:33 +02:00
2023-03-06 12:33:01 +02:00