diff options
author | Jonathan Bell <jonathan@raspberrypi.com> | 2024-02-17 14:37:22 +0100 |
---|---|---|
committer | Krzysztof Wilczyński <kwilczynski@kernel.org> | 2024-03-10 17:56:10 +0000 |
commit | 039741a8d7c9a01c1bc84a5ac5aa770a5e138a30 (patch) | |
tree | 4c95cc67e1ebc8343a0506506c02b36f88febfc0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6613476e225e090cc9aad49be7fa504e290dd33d (diff) |
PCI: brcmstb: Fix broken brcm_pcie_mdio_write() polling
The MDIO_WT_DONE() macro tests bit 31, which is always 0 (== done) as
readw_poll_timeout_atomic() does a 16-bit read. Replace with the readl
variant.
[kwilczynski: commit log]
Fixes: ca5dcc76314d ("PCI: brcmstb: Replace status loops with read_poll_timeout_atomic()")
Link: https://lore.kernel.org/linux-pci/20240217133722.14391-1-wahrenst@gmx.net
Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Acked-by: Florian Fainelli <florian.fainelli@broadcom.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions