pinctrl: baytrail: Enable glitch filter for GPIOs used as interrupts
authorHans de Goede <hdegoede@redhat.com>
Mon, 1 Jan 2018 12:23:57 +0000 (13:23 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 13 Apr 2018 17:48:11 +0000 (19:48 +0200)
commit2bc30f850f9f20ce3cfce4c9db524519b8bdcc21
tree940dcb0c0988ff39b75025932af146f3272bae45
parent8612220ec404743178d0d02eb29357d4739e802f
pinctrl: baytrail: Enable glitch filter for GPIOs used as interrupts

[ Upstream commit 9291c65b01d1c67ebd56644cb19317ad665c44b3 ]

On some systems, some PCB traces attached to GpioInts are routed in such
a way that they pick up enough interference to constantly (many times per
second) trigger.

Enabling glitch-filtering fixes this.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pinctrl/intel/pinctrl-baytrail.c