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>
Thu, 12 Apr 2018 10:32:16 +0000 (12:32 +0200)
commit5391891c0a469e5cca7f779a86cd8b01c70ac91f
treeb4257616fca36b57f181cfb363943f9b246ea299
parentdd3e1a4e769ed8175c213582b52a7dfdc6297de0
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