pinctrl: amd: Fix debug output for debounce time
authorMario Limonciello <mario.limonciello@amd.com>
Sat, 21 Jan 2023 13:48:10 +0000 (07:48 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Mar 2023 10:52:21 +0000 (11:52 +0100)
commit91210aca68f32c9c81587fbb711ff40ff11a144f
tree9c831ba7f86294cd4c94df061774fbd80900fc3f
parentfdbcacfe495dc3faa9d49872a2c40f25fc069f27
pinctrl: amd: Fix debug output for debounce time

[ Upstream commit c6e0679b8381bf03315e6660cf5370f916c1a1c6 ]

If one GPIO has debounce enabled but future GPIOs in the list don't
have debounce the time never gets reset and shows wrong value.

Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20230121134812.16637-2-mario.limonciello@amd.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/pinctrl/pinctrl-amd.c