Commit ab386632 authored by Milo Spadacini's avatar Milo Spadacini Committed by sanglipeng
Browse files

tools: gpio: fix debounce_period_us output of lsgpio

stable inclusion
from stable-v5.10.185
commit 6be7a4bef9dc623af2dda541cf69dfed35fc18db
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8L5XP

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=6be7a4bef9dc623af2dda541cf69dfed35fc18db



--------------------------------

[ Upstream commit eb4b8eca ]

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: default avatarMilo Spadacini <milo.spadacini@gmail.com>
Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Reviewed-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: default avatarBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent e4257306
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment