projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ba7f4f
)
bcma: pci: trivial: correct amount of maximum retries
author
Rafał Miłecki
<zajec5@gmail.com>
Wed, 11 May 2011 22:01:47 +0000
(
00:01
+0200)
committer
John W. Linville
<linville@tuxdriver.com>
Thu, 12 May 2011 18:10:50 +0000
(14:10 -0400)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/bcma/driver_pci.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/bcma/driver_pci.c
b/drivers/bcma/driver_pci.c
index b98b8359bef5f2a2ae01dd0349420cb4ba867ad2..e757e4e3c7e29959808376c7d7e5491ffe1e9fcf 100644
(file)
--- a/
drivers/bcma/driver_pci.c
+++ b/
drivers/bcma/driver_pci.c
@@
-81,7
+81,7
@@
static u16 bcma_pcie_mdio_read(struct bcma_drv_pci *pc, u8 device, u8 address)
pcicore_write32(pc, mdio_data, v);
/* Wait for the device to complete the transaction */
udelay(10);
- for (i = 0; i <
200
; i++) {
+ for (i = 0; i <
max_retries
; i++) {
v = pcicore_read32(pc, mdio_control);
if (v & 0x100 /* Trans complete */) {
udelay(10);