WSL2-Linux-Kernel/arch/powerpc/platforms
Christian Lamparter 63fd714759 powerpc/4xx/uic: clear pending interrupt after irq type/pol change
[ Upstream commit 3ab3a0689e ]

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: Christian Lamparter <chunkeey@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-07-31 07:28:53 +02:00
..
4xx powerpc/4xx/uic: clear pending interrupt after irq type/pol change 2019-07-31 07:28:53 +02:00
8xx License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
40x License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
44x License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
52xx License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
82xx License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
83xx powerpc/83xx: Also save/restore SPRG4-7 during suspend 2019-03-23 14:35:26 +01:00
85xx powerpc/platforms/85xx: fix t1042rdb_diu.c build errors & warning 2018-09-15 09:45:32 +02:00
86xx License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
512x License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
amigaone License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
cell License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
chrp powerpc/chrp/time: Make some functions static, add missing header include 2018-08-03 07:50:30 +02:00
embedded6xx powerpc/wii: properly disable use of BATs when requested. 2019-03-23 14:35:26 +01:00
maple License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pasemi License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
powermac powerpc/32s: fix suspend/resume when IBATs 4-7 are used 2019-07-31 07:28:42 +02:00
powernv powerpc/powernv: Return for invalid IMC domain 2019-06-22 08:16:16 +02:00
ps3 Revert "powerpc: Do not call ppc_md.panic in fadump panic notifier" 2017-12-14 09:52:57 +01:00
pseries powerpc/pseries/mobility: prevent cpu hotplug during DT update 2019-07-31 07:28:51 +02:00
Kconfig License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Kconfig.cputype powerpc/mm/slice: Fix hugepage allocation at hint address on 8xx 2018-06-05 11:42:00 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
fsl_uli1575.c of/irq: Refactor interrupt-map parsing 2013-10-24 11:43:04 +01:00