Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dd809b0d authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Greg Kroah-Hartman
Browse files

pinctrl: baytrail: Avoid clearing debounce value when turning it off



[ Upstream commit 0b74e40a4e41f3cbad76dff4c50850d47b525b26 ]

Baytrail pin control has a common register to set up debounce timeout.
When a pin configuration requested debounce to be disabled, the rest
of the pins may still want to have debounce enabled and thus rely on
the common timeout value. Avoid clearing debounce value when turning
it off for one pin while others may still use it.

Fixes: 658b476c ("pinctrl: baytrail: Add debounce configuration")
Depends-on: 04ff5a09 ("pinctrl: baytrail: Rectify debounce support")
Depends-on: 827e1579 ("pinctrl: baytrail: Rectify debounce support (part 2)")
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 7549ccae
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment