aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorMika Westerberg <[email protected]>2015-02-23 14:53:11 +0200
committerLinus Walleij <[email protected]>2015-03-06 12:21:09 +0100
commit95f0972c7e4cbf3fc68160131c5ac2f033481d00 (patch)
tree5fe75c4fe7e8700ebd68523a61af3d179ef5ef3c /lib/memory-notifier-error-inject.c
parentf8323b6bb2cc7d26941d4838dd4375952980a88a (diff)
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 <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions