WSL2-Linux-Kernel/tools/gpio
Milo Spadacini 19d09d31da tools: gpio: fix debounce_period_us output of lsgpio
[ Upstream commit eb4b8eca1b ]

Fix incorrect output that could occur when more attributes are used and
GPIO_V2_LINE_ATTR_ID_DEBOUNCE is not the first one.

Signed-off-by: Milo Spadacini <milo.spadacini@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-06-21 15:59:12 +02:00
..
.gitignore
Build
Makefile
gpio-event-mon.c
gpio-hammer.c
gpio-utils.c
gpio-utils.h
gpio-watch.c
lsgpio.c