PCI: brcmstb: Replace status loops with read_poll_timeout_atomic()
authorJim Quinlan <jim2101024@gmail.com>
Tue, 11 Oct 2022 18:42:08 +0000 (14:42 -0400)
committerLorenzo Pieralisi <lpieralisi@kernel.org>
Fri, 11 Nov 2022 10:40:47 +0000 (11:40 +0100)
commitca5dcc76314d1fa6d7307fd3b95039b08d2f2b97
tree37a566ffb90c4c724a225ebb2fd99150364ee37b
parent3ae140ad827b359bc4fa7c7985691c4c1e3ca8f4
PCI: brcmstb: Replace status loops with read_poll_timeout_atomic()

It would be nice to replace the PCIe link-up loop as well but
there are too many uses of this that do not poll (and the
read_poll_timeout uses "timeout==0" to loop forever).

Link: https://lore.kernel.org/r/20221011184211.18128-4-jim2101024@gmail.com
Signed-off-by: Jim Quinlan <jim2101024@gmail.com>
Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
drivers/pci/controller/pcie-brcmstb.c