kernel_samsung_a53x/arch/mips/pci
Ilpo Järvinen 384ecb8a92 MIPS: Routerboard 532: Fix vendor retry check code
[ Upstream commit ae9daffd9028f2500c9ac1517e46d4f2b57efb80 ]

read_config_dword() contains strange condition checking ret for a
number of values. The ret variable, however, is always zero because
config_access() never returns anything else. Thus, the retry is always
taken until number of tries is exceeded.

The code looks like it wants to check *val instead of ret to see if the
read gave an error response.

Fixes: 73b4390fb234 ("[MIPS] Routerboard 532: Support for base system")
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 14:19:07 +01:00
..
fixup-ath79.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fixup-bcm63xx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fixup-capcella.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fixup-cobalt.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fixup-fuloong2e.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fixup-ip32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fixup-jmr3927.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fixup-lantiq.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fixup-lemote2f.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fixup-malta.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fixup-mpc30x.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fixup-rbtx4927.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fixup-rbtx4938.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fixup-rc32434.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fixup-sb1250.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fixup-sni.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fixup-tb0219.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fixup-tb0226.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fixup-tb0287.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msi-octeon.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
msi-xlp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ops-bcm63xx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ops-bonito64.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ops-gt64xxx_pci0.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ops-lantiq.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ops-loongson2.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ops-mace.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ops-msc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ops-rc32434.c MIPS: Routerboard 532: Fix vendor retry check code 2024-11-19 14:19:07 +01:00
ops-sni.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ops-tx3927.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ops-tx4927.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ops-vr41xx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci-alchemy.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci-ar71xx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci-ar724x.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci-ar2315.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci-bcm47xx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci-bcm63xx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci-bcm63xx.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci-bcm1480.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci-bcm1480ht.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci-generic.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci-ip27.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci-ip32.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci-lantiq.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci-lantiq.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci-legacy.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci-malta.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci-mt7620.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci-octeon.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci-rc32434.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci-rt2880.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci-rt3883.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci-sb1250.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci-tx4927.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci-tx4938.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci-tx4939.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci-vr41xx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci-vr41xx.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci-xlp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci-xlr.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci-xtalk-bridge.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pci.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pcie-octeon.c MIPS: Octeon: Add PCIe link status check 2024-11-19 14:19:07 +01:00