From: Mika Westerberg Date: Mon, 23 Feb 2015 12:53:11 +0000 (+0200) Subject: pinctrl: baytrail: Clear interrupt triggering from pins that are in GPIO mode X-Git-Tag: omap-for-v4.2/o2_dc~292^2~5 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95f0972c7e4cbf3fc68160131c5ac2f033481d00;p=pandora-kernel.git pinctrl: baytrail: Clear interrupt triggering from pins that are in GPIO mode If the pin is already configured as GPIO and it has any of the triggering flags set, we may get spurious interrupts depending on the state of the pin. Prevent this by clearing the triggering flags on such pins. However, if the pin is also configured as "direct IRQ" we leave the flags as is. Otherwise it will prevent interrupts that are routed directly to IO-APIC. Signed-off-by: Mika Westerberg Signed-off-by: Linus Walleij --- Reading git-diff-tree failed