powerpc/4xx/uic: clear pending interrupt after irq type/pol change
Christian Lamparter authored
When testing out gpio-keys with a button, a spurious
interrupt (and therefore a key press or release event)
gets triggered as soon as the driver enables the irq
line for the first time.

This patch clears any potential bogus generated interrupt
that was caused by the switching of the associated irq's
type and polarity.
Signed-off-by: default avatarChristian Lamparter <chunkeey@gmail.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
3ab3a068
Name Last commit Last update
..
boot treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 40
configs Merge tag 'mtd/for-5.2' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/mtd/linux
crypto treewide: Add SPDX license identifier for more missed files
include powerpc: Add barrier_nospec to raw_copy_in_user()
kernel powerpc/pci/of: Parse unassigned resources
kvm KVM: PPC: Book3S HV: Fix CR0 setting in TM emulation
lib powerpc/lib: only build ldstfp.o when CONFIG_PPC_FPU is set
math-emu powerpc: math-emu: remove unneeded header search paths
mm powerpc/64s/radix: keep kernel ERAT over local process/guest invalidates
net Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf
oprofile Remove 'type' argument from access_ok() function
perf powerpc/perf: Use cpumask_last() to determine the designated cpu for nest/core units.
platforms powerpc/4xx/uic: clear pending interrupt after irq type/pol change
purgatory powerpc: disable KASAN instrumentation on early/critical files.
sysdev powerpc/pseries: Fix xive=off command line
tools powerpc/tools/checkpatch: Ignore DT_SPLIT_BINDING_PATCH
xmon powerpc/64s/exception: remove bad stack branch
Kbuild powerpc: Add -Werror at arch/powerpc level
Kconfig powerpc: Fix compile issue with force DAWR
Kconfig.debug powerpc/xmon: add read-only mode
Makefile treewide: prefix header search paths with $(srctree)/
Makefile.postlink License cleanup: add SPDX GPL-2.0 license identifier to files with no license