diff options
-rw-r--r-- | drivers/ssb/driver_pcicore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ssb/driver_pcicore.c b/drivers/ssb/driver_pcicore.c index 1ba9f0ee6f94..dbda168e501b 100644 --- a/drivers/ssb/driver_pcicore.c +++ b/drivers/ssb/driver_pcicore.c | |||
@@ -522,7 +522,7 @@ static u16 ssb_pcie_mdio_read(struct ssb_pcicore *pc, u8 device, u8 address) | |||
522 | pcicore_write32(pc, mdio_data, v); | 522 | pcicore_write32(pc, mdio_data, v); |
523 | /* Wait for the device to complete the transaction */ | 523 | /* Wait for the device to complete the transaction */ |
524 | udelay(10); | 524 | udelay(10); |
525 | for (i = 0; i < 200; i++) { | 525 | for (i = 0; i < max_retries; i++) { |
526 | v = pcicore_read32(pc, mdio_control); | 526 | v = pcicore_read32(pc, mdio_control); |
527 | if (v & 0x100 /* Trans complete */) { | 527 | if (v & 0x100 /* Trans complete */) { |
528 | udelay(10); | 528 | udelay(10); |