diff options
author | 2025-04-12 13:15:16 +0300 | |
---|---|---|
committer | 2025-04-14 22:25:20 +0200 | |
commit | db1baf69e563fc222a75c0add5c76f437c717ac0 (patch) | |
tree | d5287777daaccc47188d8a1be9bbbd9d03ecc41d /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | gpio: aggregator: Fix gpio_aggregator_line_alloc() checking (diff) | |
download | wireguard-linux-db1baf69e563fc222a75c0add5c76f437c717ac0.tar.xz wireguard-linux-db1baf69e563fc222a75c0add5c76f437c717ac0.zip |
gpio: aggregator: Return an error if there are no GPIOs in gpio_aggregator_parse()
The error handling in gpio_aggregator_parse() was re-written. It now
returns success if there are no GPIOs. Restore the previous behavior
and return -EINVAL instead.
Fixes: 83c8e3df642f ("gpio: aggregator: expose aggregator created via legacy sysfs to configfs")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Acked-by: Koichiro Den <koichiro.den@canonical.com>
Link: https://lore.kernel.org/r/9dcd5fda7a3819e896d9eee4156e7c46c9a64595.1744452787.git.dan.carpenter@linaro.org
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions