summaryrefslogtreecommitdiffstats
path: root/mm/swap_cgroup.c
diff options
context:
space:
mode:
authorMika Westerberg <mika.westerberg@linux.intel.com>2015-02-23 13:53:11 +0100
committerLinus Walleij <linus.walleij@linaro.org>2015-03-06 12:21:09 +0100
commit95f0972c7e4cbf3fc68160131c5ac2f033481d00 (patch)
tree5fe75c4fe7e8700ebd68523a61af3d179ef5ef3c /mm/swap_cgroup.c
parentpinctrl: baytrail: Relax GPIO request rules (diff)
downloadlinux-95f0972c7e4cbf3fc68160131c5ac2f033481d00.tar.xz
linux-95f0972c7e4cbf3fc68160131c5ac2f033481d00.zip
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>
Diffstat (limited to 'mm/swap_cgroup.c')
0 files changed, 0 insertions, 0 deletions