linux-stable/drivers
Horatiu Vultur 06e84176dd pinctrl: ocelot: Fix incorrect trigger of the interrupt.
[ Upstream commit e9945b2633 ]

The interrupt controller can detect only link changes. So in case an
external device generated a level based interrupt, then the interrupt
controller detected correctly the first edge. But the problem was that
the interrupt controller was detecting also the edge when the interrupt
was cleared. So it would generate another interrupt.
The fix for this is to clear the second interrupt but still check the
interrupt line status.

Fixes: c297561bc9 ("pinctrl: ocelot: Fix interrupt controller")
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Tested-by: Michael Walle <michael@walle.cc>
Link: https://lore.kernel.org/r/20221018070959.1322606-1-horatiu.vultur@microchip.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-11-04 00:00:28 +09:00
..
accessibility
acpi ACPI: PCC: Fix unintentional integer overflow 2022-11-04 00:00:24 +09:00
amba
android
ata ata: ahci: Match EM_MAX_SLOTS with SATA_PMP_MAX_PORTS 2022-10-29 10:08:30 +02:00
atm
auxdisplay
base
bcma
block drbd: only clone bio if we have a backing device 2022-10-29 10:08:35 +02:00
bluetooth
bus
cdrom
char random: use arch_get_random*_early() in random_init() 2022-11-04 00:00:22 +09:00
clk clk: tegra: Fix Tegra PWM parent clock 2022-10-26 12:53:31 +02:00
clocksource
comedi
connector
counter counter: 104-quad-8: Fix race getting function mode and direction 2022-11-04 00:00:23 +09:00
cpufreq cpufreq: intel_pstate: hybrid: Use known scaling factor for P-cores 2022-11-04 00:00:20 +09:00
cpuidle
crypto
cxl
dax
dca
devfreq
dio
dma dmaengine: dw-edma: Remove runtime PM support 2022-10-21 12:39:26 +02:00
dma-buf
edac
eisa
extcon
firewire
firmware efi: ssdt: Don't free memory if ACPI table was loaded successfully 2022-10-26 12:22:57 +02:00
fpga
fsi fsi: master-ast-cf: Fix missing of_node_put in fsi_master_acf_probe 2022-10-21 12:39:26 +02:00
gnss
gpio
gpu drm/msm/a6xx: Fix kvzalloc vs state_kcalloc usage 2022-11-04 00:00:26 +09:00
greybus
hid HID: magicmouse: Do not set BTN_MOUSE on double report 2022-10-29 10:08:32 +02:00
hsi HSI: ssi_protocol: fix potential resource leak in ssip_pn_open() 2022-10-21 12:39:23 +02:00
hte
hv
hwmon hwmon/coretemp: Handle large core ID value 2022-10-29 10:08:30 +02:00
hwspinlock
hwtracing coresight: cti: Fix hang in cti_disable_hw() 2022-11-04 00:00:22 +09:00
i2c i2c: qcom-cci: Fix ordering of pm_runtime_xx and i2c_add_adapter 2022-10-29 10:08:29 +02:00
i3c
idle
iio iio: adxl367: Fix unsafe buffer attributes 2022-11-04 00:00:20 +09:00
infiniband RDMA/rxe: Delete error messages triggered by incoming Read requests 2022-10-21 12:39:21 +02:00
input
interconnect
iommu iommu/vt-d: Clean up si_domain in the init_dmars() error path 2022-10-29 10:08:35 +02:00
ipack
irqchip
isdn
leds
macintosh
mailbox
mcb
md dm: remove unnecessary assignment statement in alloc_dev() 2022-10-29 10:08:34 +02:00
media media: sun8i-rotate: Add a Kconfig dependency on RESET_CONTROLLER 2022-11-04 00:00:26 +09:00
memory
memstick
message
mfd
misc
mmc mmc: sdhci-esdhc-imx: Propagate ESDHC_FLAG_HS400* only on 8bit bus 2022-11-04 00:00:23 +09:00
most
mtd mtd: rawnand: intel: Add missing of_node_put() in ebu_nand_probe() 2022-11-04 00:00:28 +09:00
mux
net can: rcar_canfd: fix channel specific IRQ handling for RZ/G2L 2022-11-04 00:00:17 +09:00
nfc
ntb
nubus
nvdimm
nvme nvmet: fix workqueue MEM_RECLAIM flushing dependency 2022-10-29 10:08:34 +02:00
nvmem
of
opp
parisc
parport
pci
pcmcia
peci
perf
phy
pinctrl pinctrl: ocelot: Fix incorrect trigger of the interrupt. 2022-11-04 00:00:28 +09:00
platform platform/x86/amd: pmc: remove CONFIG_DEBUG_FS checks 2022-11-04 00:00:16 +09:00
pnp
power power: supply: adp5061: fix out-of-bounds read in adp5061_get_chg_type() 2022-10-21 12:39:22 +02:00
powercap
pps
ps3
ptp
pwm
rapidio
ras
regulator
remoteproc
reset
rpmsg
rtc
s390 s390/cio: fix out-of-bounds access on cio_ignore free 2022-11-04 00:00:24 +09:00
sbus
scsi scsi: qla2xxx: Use transport-defined speed mask for supported_speeds 2022-11-04 00:00:21 +09:00
sh
siox
slimbus
soc
soundwire soundwire: intel: fix error handling on dai registration issues 2022-10-21 12:39:23 +02:00
spi spi: qup: support using GPIO as chip select line 2022-11-04 00:00:27 +09:00
spmi
ssb
staging media: cedrus: Add a Kconfig dependency on RESET_CONTROLLER 2022-11-04 00:00:26 +09:00
target
tc
tee
thermal thermal: intel_powerclamp: Use first online CPU as control_cpu 2022-10-26 12:22:55 +02:00
thunderbolt
tty
ufs
uio
usb xhci: Remove device endpoints from bandwidth list when freeing the device 2022-11-04 00:00:20 +09:00
vdpa
vfio
vhost
video fbdev/core: Avoid uninitialized read in aperture_remove_conflicting_pci_device() 2022-11-04 00:00:24 +09:00
virt
virtio
vlynq
w1
watchdog
xen
zorro
Kconfig
Makefile