Andy Shevchenko
6cb59afe9e
gpiolib: Assign fwnode to parent's if no primary one provided
...
In case when the properties are supplied in the secondary fwnode
(for example, built-in device properties) the fwnode pointer left
unassigned. This makes unable to retrieve them.
Assign fwnode to parent's if no primary one provided.
Fixes: 7cba1a4d5e16 ("gpiolib: generalize devprop_gpiochip_set_names() for device properties")
Fixes: 2afa97e9868f ("gpiolib: Read "gpio-line-names" from a firmware node")
Reported-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Tested-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
2021-03-16 10:18:08 +01:00
..
2019-12-04 19:44:12 -08:00
2019-11-07 09:27:48 +01:00
2020-07-23 15:09:26 +02:00
2020-10-29 14:58:00 +01:00
2020-07-23 15:10:25 +02:00
2020-07-20 15:34:59 +02:00
2020-07-20 15:47:50 +02:00
2021-02-15 11:43:32 +01:00
2019-05-30 11:29:52 -07:00
2020-07-08 09:24:07 +02:00
2020-12-08 09:41:32 +01:00
2020-09-28 12:22:04 +02:00
2019-07-09 09:07:00 -07:00
2020-12-02 10:40:54 +01:00
2020-10-02 09:51:42 -07:00
2020-10-26 15:51:57 +01:00
2020-12-01 15:49:50 +01:00
2020-08-28 20:13:51 +02:00
2021-01-14 13:05:55 +00:00
2021-02-15 11:43:27 +01:00
2021-02-15 11:43:27 +01:00
2020-03-26 00:02:03 +01:00
2020-12-08 09:41:32 +01:00
2019-08-15 09:44:19 +02:00
2019-05-30 11:26:32 -07:00
2020-01-23 16:16:05 +01:00
2020-08-04 01:25:02 +02:00
2020-12-12 01:37:46 +01:00
2019-05-30 11:26:32 -07:00
2019-05-30 11:26:32 -07:00
2020-08-28 20:15:06 +02:00
2020-07-23 15:03:25 +02:00
2020-12-17 18:07:20 -08:00
2020-12-09 09:41:49 +01:00
2019-11-13 13:47:48 +01:00
2021-02-15 11:43:34 +01:00
2020-11-25 15:36:52 +01:00
2020-05-05 18:22:26 +02:00
2020-04-28 15:50:28 +02:00
2019-12-04 19:44:12 -08:00
2020-01-15 11:24:19 +01:00
2020-12-16 21:57:27 +01:00
2019-08-15 09:57:29 +02:00
2019-11-07 09:27:48 +01:00
2020-07-22 16:00:27 +03:00
2019-07-15 21:10:39 -07:00
2020-07-08 09:24:08 +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
2019-12-13 09:50:29 +01: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
2019-11-07 09:27:48 +01:00
2019-08-15 21:33:07 +02:00
2019-11-07 09:27:48 +01:00
2020-05-22 17:01:25 +02:00
2020-08-04 01:12:43 +02:00
2019-12-04 19:44:13 -08:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2021-02-15 11:43:29 +01:00
2019-07-29 00:03:52 +02:00
2020-05-18 09:15:16 +02:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:29:19 -07:00
2019-11-03 19:54:53 +01:00
2021-02-15 11:43:31 +01:00
2020-06-30 17:00:11 +03:00
2020-07-08 09:24:08 +02: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
2020-10-29 10:39:09 +01:00
2019-11-07 09:27:48 +01:00
2020-09-30 10:50:30 +02:00
2019-06-05 17:37:06 +02:00
2020-12-05 22:41:22 +01:00
2020-03-25 09:50:45 +01:00
2021-02-15 11:43:31 +01:00
2020-11-18 08:52:22 +01:00
2020-12-04 09:08:54 +01:00
2020-12-09 15:17:24 +01:00
2019-05-30 11:29:52 -07:00
2021-03-08 11:59:17 +01:00
2020-07-16 14:35:12 +02:00
2021-02-18 15:52:44 +01:00
2020-07-21 19:12:57 +03:00
2020-07-23 15:11:26 +02:00
2020-11-06 15:19:44 +01:00
2020-08-28 20:15:51 +02:00
2020-04-14 16:23:46 +02:00
2020-07-08 09:24:07 +02:00
2020-05-25 11:14:36 +02:00
2019-11-07 09:27:48 +01:00
2019-05-30 11:29:52 -07:00
2021-02-15 11:43:27 +01:00
2019-10-29 15:12:52 +01:00
2019-11-07 09:27:48 +01:00
2020-06-03 10:48:37 +02:00
2019-11-07 09:27:48 +01:00
2020-07-08 09:24:07 +02:00
2019-11-07 09:27:48 +01:00
2020-07-22 16:00:27 +03:00
2020-12-09 15:17:24 +01:00
2020-09-09 12:59:15 +02:00
2021-02-15 11:43:26 +01:00
2020-08-31 18:06:28 +02:00
2019-06-05 17:37:06 +02:00
2020-10-28 15:51:27 +01:00
2020-08-18 21:32:28 +02:00
2020-07-08 09:24:08 +02:00
2019-12-12 17:09:50 +01:00
2020-10-13 10:09:33 -07:00
2021-02-15 11:43:29 +01:00
2021-02-15 11:43:30 +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
2019-11-07 09:27:48 +01:00
2020-11-19 08:34:22 +00:00
2019-11-07 09:27:48 +01:00
2019-11-07 09:27:48 +01:00
2019-11-07 09:27:48 +01:00
2019-11-07 09:27:48 +01:00
2019-11-07 09:27:48 +01:00
2019-11-07 09:27:48 +01:00
2019-06-19 17:09:55 +02:00
2020-03-02 08:52:55 +01:00
2019-08-23 09:41:18 +02:00
2019-08-05 11:26:58 +02:00
2021-02-15 11:43:26 +01:00
2019-06-27 15:56:51 +01:00
2021-02-15 11:43:29 +01:00
2020-02-10 10:50:58 +01:00
2021-02-15 11:43:32 +01:00
2020-07-23 15:08:55 +02:00
2020-05-18 09:16:31 +02:00
2019-11-07 09:27:48 +01:00
2020-01-29 09:51:36 -08:00
2021-02-15 11:43:33 +01:00
2019-08-15 09:55:07 +02: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
2020-12-02 10:41:02 +01:00
2021-03-08 11:59:17 +01:00
2020-11-16 14:14:35 +02:00
2021-01-27 15:52:13 +01:00
2020-11-05 15:35:40 +01:00
2020-11-16 11:27:33 +01:00
2021-01-27 16:04:10 +01:00
2021-01-27 16:04:10 +01:00
2020-10-26 15:43:15 +01:00
2020-07-12 10:22:00 +02:00
2021-03-16 10:18:08 +01:00
2020-12-09 15:17:24 +01:00
2021-02-22 08:50:01 -08:00
2021-02-15 11:43:33 +01:00
2021-02-15 11:43:32 +01:00