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:Jonathan Bell <jonathan@raspberrypi.com>
Loading
Please register or sign in to comment