Skip to content
Commit 18ba6e3f authored by Jonathan Bell's avatar Jonathan Bell Committed by Dom Cobley
Browse files

PCI: brcmstb: fix broken brcm_pcie_mdio_write() polling



MDIO_WR_DONE() tests bit 31, which is always 0 (==done) as
readw_poll_timeout_atomic does a 16-bit read. Replace with the readl
variant.

Fixes: ca5dcc76 ("PCI: brcmstb: Replace status loops with read_poll_timeout_atomic()")
Signed-off-by: default avatarJonathan Bell <jonathan@raspberrypi.com>
parent 2b331929
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment