diff options
author | 2021-03-15 20:44:30 +0200 | |
---|---|---|
committer | 2021-03-16 10:18:08 +0100 | |
commit | 6cb59afe9e5b45a035bd6b97da6593743feefc72 (patch) | |
tree | 823f5133d4b91ffe5ed9b1b26b8ee1c83a54019d /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | gpiolib: Fix error return code in gpiolib_dev_init() (diff) | |
download | wireguard-linux-6cb59afe9e5b45a035bd6b97da6593743feefc72.tar.xz wireguard-linux-6cb59afe9e5b45a035bd6b97da6593743feefc72.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions