2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-01 00:54:15 +08:00
linux-next/drivers/pinctrl/intel
Mika Westerberg 95f0972c7e 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 <mika.westerberg@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2015-03-06 12:21:09 +01:00
..
Kconfig pinctrl: Add Intel Cherryview/Braswell pin controller support 2014-11-04 11:21:02 +01:00
Makefile pinctrl: Add Intel Cherryview/Braswell pin controller support 2014-11-04 11:21:02 +01:00
pinctrl-baytrail.c pinctrl: baytrail: Clear interrupt triggering from pins that are in GPIO mode 2015-03-06 12:21:09 +01:00
pinctrl-cherryview.c pinctrl: cherryview: Configure HiZ pins to be input when requested as GPIOs 2015-02-04 09:59:26 +01:00