diff options
author | 2022-02-08 11:37:56 +0100 | |
---|---|---|
committer | 2022-02-09 11:41:29 +0100 | |
commit | c162ca0bcbfb39308c4dff4157e27c751af7032a (patch) | |
tree | 1d588a80abdc394a780fbe510d1d0d2ee9bcfd0c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | gpio: sifive: use the correct register to read output values (diff) | |
download | wireguard-linux-c162ca0bcbfb39308c4dff4157e27c751af7032a.tar.xz wireguard-linux-c162ca0bcbfb39308c4dff4157e27c751af7032a.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions