Kent Gibson
d7459efc92
gpio: sim: quietly ignore configured lines outside the bank
...
The user-space policy of the gpio-sim is that configuration for lines
with offsets outside the bounds of the corresponding bank is ignored,
but gpio-sim is still using that configuration when constructing the
sim. In the case of named lines this results in temporarily allocating
space for names that are not used, and for hogs results in errors being
logged when the gpio-sim attempts to register the out of range hog with
gpiolib:
gpiochip_machine_hog: unable to get GPIO desc: -22
Add checks to filter out any line configuration outside the bounds
of the bank when constructing the sim.
Signed-off-by: Kent Gibson <warthog618@gmail.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
2023-06-07 14:49:35 +02:00
..
2022-02-09 13:00:45 +00:00
2022-07-28 15:47:56 +02:00
2023-04-25 17:18:18 -07:00
2023-04-11 21:08:31 +02:00
2022-10-25 09:57:57 +02:00
2023-03-10 16:17:16 +01:00
2021-05-21 15:29:53 +02:00
2023-03-06 12:33:02 +02:00
2022-01-24 17:23:15 +02:00
2023-03-15 10:38:03 +01:00
2022-11-30 17:18:35 +01:00
2020-09-28 12:22:04 +02:00
2022-04-25 12:10:02 +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-03-10 16:17:23 +01:00
2022-06-10 14:51:35 +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
2022-08-04 18:34:05 -07:00
2020-12-08 09:41:32 +01:00
2023-03-10 16:17:24 +01:00
2019-05-30 11:26:32 -07:00
2021-12-17 17:44:19 +01: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-04-25 17:18:18 -07:00
2022-06-06 14:09:16 +03:00
2022-06-10 14:26:15 +02:00
2022-12-30 16:57:27 +01: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
2022-10-26 14:52:02 +02:00
2023-05-23 10:47:41 +02:00
2023-03-15 10:37:56 +01:00
2023-03-15 13:49:18 +01:00
2023-01-30 15:55:30 +01:00
2023-01-30 15:55:28 +01:00
2022-06-23 16:42:27 +02:00
2022-10-17 10:36:19 +02:00
2023-03-10 16:17:27 +01:00
2023-03-10 16:17:29 +01:00
2019-11-07 09:27:48 +01: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
2022-10-25 09:56:46 +02:00
2022-10-25 09:56:46 +02:00
2023-03-10 16:17:30 +01:00
2023-03-06 10:47:22 +01:00
2021-05-05 16:07:41 +02:00
2022-09-13 16:17:45 +02:00
2019-07-09 09:07:00 -07:00
2019-11-07 09:27:48 +01:00
2022-10-26 14:52:01 +02:00
2023-04-26 11:40:29 +01:00
2021-05-12 13:35:39 +02:00
2023-03-23 14:31:18 +01:00
2023-03-10 16:27:28 +01:00
2019-10-31 15:03:10 -07:00
2022-06-10 14:51:36 +02:00
2022-07-19 09:57:40 +02:00
2022-06-10 14:51:36 +02:00
2019-04-05 00:04:26 +07:00
2021-12-17 17:44:19 +01:00
2019-11-07 09:27:48 +01:00
2021-10-13 19:52:26 +02:00
2023-03-10 16:17:33 +01:00
2022-02-09 13:00:45 +00:00
2022-10-17 10:36:19 +02:00
2022-02-09 13:00:45 +00:00
2022-05-05 14:56:37 +02:00
2019-07-29 00:03:52 +02:00
2020-05-18 09:15:16 +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
2020-07-08 09:24:08 +02:00
2023-03-23 16:22:18 +02:00
2022-04-25 12:10:02 +02:00
2023-05-17 11:19:32 +02:00
2021-04-09 14:54:23 -07:00
2022-09-07 13:17:23 +02:00
2023-03-06 12:33:01 +02:00
2023-03-10 16:17:31 +01:00
2022-10-08 09:46:29 -07:00
2023-01-30 15:55:31 +01:00
2023-01-25 13:33:29 +01:00
2023-03-06 10:47:22 +01:00
2019-04-05 00:04:27 +07:00
2023-03-10 16:17:35 +01:00
2021-12-17 17:39:35 +01:00
2023-01-30 15:55:27 +01:00
2023-01-30 15:55:28 +01:00
2023-01-30 15:55:30 +01:00
2022-06-21 18:01:11 +03:00
2023-03-10 16:17:36 +01:00
2023-03-15 13:40:10 +01:00
2022-06-10 14:51:36 +02:00
2022-10-24 12:29:26 +03:00
2022-12-30 16:58:58 +01:00
2023-03-22 17:46:12 +01:00
2023-03-15 10:38:39 +01:00
2019-05-30 11:29:52 -07:00
2023-03-15 10:38:05 +01:00
2023-03-23 14:31:18 +01:00
2019-05-24 17:36:45 +02: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-01-30 15:55:30 +01:00
2019-11-07 09:27:48 +01:00
2023-03-15 10:38:16 +01:00
2019-11-07 09:27:48 +01:00
2022-06-06 14:09:16 +03:00
2023-03-15 10:38:13 +01:00
2023-06-07 14:49:35 +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
2022-12-30 16:59:06 +01:00
2023-03-23 14:31:18 +01:00
2023-03-15 10:43:08 +01:00
2022-05-02 10:41:33 +02:00
2023-03-06 17:10:46 +02:00
2023-03-06 17:10:46 +02:00
2023-03-15 10:43:08 +01:00
2022-10-03 20:56:46 +02:00
2023-04-26 15:43:49 -07:00
2022-10-20 13:47:54 +02:00
2023-03-23 14:31:18 +01:00
2019-05-30 11:29:19 -07:00
2022-02-25 09:59:35 +01:00
2022-10-17 10:36:19 +02:00
2021-12-17 17:50:46 +01:00
2019-11-07 09:27:48 +01:00
2021-12-17 17:39:35 +01:00
2021-12-17 17:50:46 +01:00
2021-05-24 20:58:46 +02:00
2022-01-24 17:23:15 +02:00
2023-03-23 14:31:18 +01:00
2022-06-10 14:51:35 +02:00
2022-10-17 10:36:19 +02:00
2022-03-31 16:44:57 +02:00
2022-09-20 09:02:08 +02:00
2021-12-17 17:50:46 +01:00
2021-11-08 11:55:21 -08:00
2023-02-22 11:01:17 -08: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
2021-02-15 11:43:29 +01:00
2023-01-30 15:55:30 +01: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
2022-10-08 09:46:29 -07:00
2020-05-18 09:16:31 +02:00
2021-05-23 20:30:26 +02:00
2023-03-23 14:31:18 +01:00
2023-03-23 14:31:18 +01:00
2023-03-23 14:31:19 +01:00
2023-03-15 10:38:22 +01:00
2019-12-09 10:40:18 +01:00
2023-01-30 15:55:31 +01:00
2021-08-12 11:39:38 +01:00
2021-09-23 10:09:58 +02:00
2023-04-25 17:18:18 -07:00
2023-03-06 12:33:02 +02:00
2023-01-30 15:55:29 +01:00
2020-11-05 15:35:40 +01:00
2023-01-30 15:55:28 +01:00
2023-03-06 12:33:02 +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-04-27 11:53:57 -07:00
2022-10-24 12:30:26 +03:00
2023-05-17 11:47:14 +02:00
2023-01-30 15:55:29 +01:00
2023-05-23 10:47:41 +02:00
2023-05-02 10:41:31 -07:00
2023-03-06 12:33:01 +02:00