Bartosz Golaszewski
c162ca0bcb
gpio: sim: fix hogs with custom chip labels
...
We always assign the default device name as the chip_label in hog
structures which makes it impossible to assign hogs to chips. Let's
first check if a custom label was set and then copy it instead of the
default device name.
Fixes: cb8c474e79be ("gpio: sim: new testing module")
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
2022-02-09 11:41:29 +01:00
..
2021-10-06 13:01:45 +02:00
2019-11-07 09:27:48 +01:00
2021-08-12 11:39:38 +01:00
2021-08-12 11:39:38 +01:00
2021-08-12 11:39:38 +01:00
2021-12-17 17:39:35 +01:00
2021-05-21 15:29:53 +02:00
2020-07-20 15:47:50 +02:00
2022-02-02 11:53:46 +01:00
2021-05-21 15:43:24 +02:00
2021-08-12 11:39:38 +01:00
2020-12-08 09:41:32 +01:00
2020-09-28 12:22:04 +02:00
2021-12-17 17:39:35 +01:00
2021-12-17 17:50:46 +01:00
2022-01-11 12:31:35 -08:00
2021-12-10 16:14:40 +01:00
2021-08-12 11:39:38 +01:00
2021-12-17 17:44:19 +01: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
2021-12-23 17:08:53 +01:00
2020-12-08 09:41:32 +01:00
2021-08-12 11:39:38 +01:00
2019-05-30 11:26:32 -07:00
2021-12-17 17:44:19 +01:00
2021-05-17 10:56:17 +03:00
2020-12-12 01:37:46 +01:00
2021-05-23 20:32:09 +02:00
2021-05-21 14:45:57 +02:00
2021-12-17 17:39:35 +01:00
2021-12-19 15:03:30 +01:00
2022-01-03 11:06:18 +01:00
2021-12-17 17:39:35 +01:00
2021-12-17 17:39:35 +01:00
2021-08-12 11:39:38 +01:00
2020-11-25 15:36:52 +01:00
2020-05-05 18:22:26 +02:00
2021-08-12 11:39:38 +01:00
2021-12-17 17:39:35 +01:00
2019-12-04 19:44:12 -08:00
2021-12-17 17:39:35 +01:00
2021-12-22 10:05:26 +01:00
2021-08-12 11:39:38 +01:00
2021-08-12 11:39:38 +01:00
2019-11-07 09:27:48 +01:00
2021-05-05 16:07:41 +02:00
2022-01-20 09:05:46 +01:00
2019-07-15 21:10:39 -07:00
2021-05-05 16:07:41 +02:00
2019-09-03 16:04:19 +02:00
2019-07-09 09:07:00 -07:00
2019-11-07 09:27:48 +01:00
2021-05-12 13:35:39 +02:00
2019-04-05 00:04:26 +07:00
2019-10-31 15:03:10 -07:00
2019-11-07 09:27:48 +01:00
2019-06-05 17:37:10 +02:00
2021-05-19 13:33:49 +01: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
2020-08-04 01:12:43 +02:00
2022-01-03 10:43:00 +01:00
2021-10-13 19:52:26 +02:00
2021-10-13 19:52:26 +02:00
2021-09-22 12:12:09 +02:00
2019-07-29 00:03:52 +02:00
2020-05-18 09:15:16 +02:00
2021-10-13 19:52:41 +02:00
2019-11-03 19:54:53 +01:00
2021-08-12 11:39:38 +01:00
2021-12-01 15:10:26 +02:00
2021-11-08 11:55:21 -08:00
2020-07-08 09:24:08 +02:00
2020-04-28 22:41:25 +02:00
2020-07-16 15:07:18 +02:00
2021-11-19 10:38:16 +02:00
2021-04-09 14:54:23 -07:00
2022-01-20 09:05:57 +01:00
2019-06-05 17:37:06 +02:00
2021-12-20 16:07:22 +01:00
2021-12-22 10:05:26 +01:00
2021-12-17 17:39:35 +01:00
2021-08-12 11:39:38 +01:00
2021-08-12 11:39:38 +01:00
2019-04-05 00:04:27 +07:00
2021-12-17 17:39:35 +01:00
2021-12-17 17:39:35 +01:00
2021-10-06 13:01:45 +02:00
2020-07-16 14:35:12 +02:00
2021-02-18 15:52:44 +01:00
2021-12-01 15:10:26 +02:00
2021-08-12 11:39:38 +01:00
2021-08-12 11:39:38 +01:00
2020-08-28 20:15:51 +02:00
2021-08-12 11:39:38 +01:00
2021-12-17 17:39:35 +01:00
2021-12-17 17:44:19 +01:00
2021-12-17 17:39:35 +01:00
2019-05-30 11:29:52 -07:00
2022-01-05 09:57:34 +01:00
2021-12-22 10:05:26 +01:00
2019-05-24 17:36:45 +02:00
2021-10-30 16:58:58 +02:00
2019-11-07 09:27:48 +01:00
2021-12-23 17:14:19 +01:00
2021-12-17 17:39:35 +01:00
2019-11-07 09:27:48 +01:00
2021-12-17 17:39:35 +01:00
2019-11-07 09:27:48 +01:00
2021-12-13 13:29:09 +02:00
2022-02-08 10:43:15 +01:00
2022-02-09 11:41:29 +01:00
2020-09-09 12:59:15 +02:00
2021-02-15 11:43:26 +01:00
2021-08-12 11:39:38 +01:00
2021-05-25 16:14:34 +02:00
2021-12-17 17:39:35 +01:00
2021-12-17 12:26:13 +01:00
2021-12-17 17:39:35 +01:00
2020-08-18 21:32:28 +02:00
2020-07-08 09:24:08 +02:00
2021-08-12 11:39:38 +01:00
2021-12-17 17:39:35 +01:00
2021-12-23 17:12:26 +01:00
2021-08-12 11:39:38 +01:00
2020-01-15 11:18:29 +01:00
2019-05-30 11:29:19 -07:00
2019-11-07 09:27:48 +01: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
2021-05-21 16:47:20 +02:00
2021-08-29 21:19:50 +02:00
2019-04-05 00:04:28 +07:00
2019-11-07 09:27:48 +01:00
2022-01-05 09:57:06 +01:00
2019-11-07 09:27:48 +01:00
2021-12-17 17:50:46 +01:00
2019-06-19 17:09:55 +02:00
2021-11-08 11:55:21 -08:00
2021-12-17 17:39:35 +01:00
2021-08-31 11:29:28 +02:00
2022-01-14 18:50:52 -05:00
2021-05-21 15:28:22 +02:00
2019-06-27 15:56:51 +01:00
2021-02-15 11:43:29 +01:00
2021-05-27 09:51:35 +02:00
2021-05-20 15:20:52 +03:00
2021-12-17 17:50:46 +01:00
2021-05-25 16:21:28 +02:00
2021-05-25 16:21:14 +02:00
2021-08-12 11:39:38 +01:00
2020-05-18 09:16:31 +02:00
2021-05-23 20:30:26 +02:00
2021-10-25 10:10:37 +02:00
2021-09-22 11:48:19 +02:00
2021-12-03 16:00:40 +01:00
2020-11-30 17:36:36 +01:00
2019-12-09 10:40:18 +01:00
2019-06-19 17:09:55 +02:00
2021-08-12 11:39:38 +01:00
2021-09-23 10:09:58 +02:00
2022-01-03 11:06:15 +01:00
2021-03-26 14:56:18 +01:00
2022-02-08 10:34:15 +01:00
2020-11-05 15:35:40 +01:00
2021-08-05 21:21:58 +02:00
2018-09-25 09:08:48 +02:00
2021-12-17 12:26:13 +01:00
2021-01-27 16:04:10 +01:00
2022-02-08 10:34:15 +01:00
2020-07-12 10:22:00 +02:00
2021-12-17 12:26:14 +01:00
2022-02-08 10:34:15 +01:00
2022-01-11 12:31:35 -08:00
2022-01-11 12:31:35 -08:00
2021-02-15 11:43:32 +01:00