projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f50b1cd
)
rt2x00: rt2x00pci_regbusy_read() - only print register access failure once
author
Tim Gardner
<
[email protected]
>
Mon, 18 Feb 2013 19:56:28 +0000
(12:56 -0700)
committer
John W. Linville
<
[email protected]
>
Wed, 3 Apr 2013 18:50:06 +0000
(14:50 -0400)
BugLink:
http://bugs.launchpad.net/bugs/1128840
It appears that when this register read fails it never recovers, so
I think there is no need to repeat the same error message ad infinitum.
Cc: Ivo van Doorn <
[email protected]
>
Cc: Gertjan van Wingerde <
[email protected]
>
Cc: Helmut Schaa <
[email protected]
>
Cc: "John W. Linville" <
[email protected]
>
Cc:
[email protected]
Cc:
[email protected]
Cc:
[email protected]
Cc:
[email protected]
Signed-off-by: Tim Gardner <
[email protected]
>
Signed-off-by: John W. Linville <
[email protected]
>
drivers/net/wireless/rt2x00/rt2x00pci.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/rt2x00/rt2x00pci.c
b/drivers/net/wireless/rt2x00/rt2x00pci.c
index a0c8caef3b0a8f3616a4dd4a71e6eebeb3b939ae..b1c673ecada14f0638209f334c651d1192a810a6 100644
(file)
--- a/
drivers/net/wireless/rt2x00/rt2x00pci.c
+++ b/
drivers/net/wireless/rt2x00/rt2x00pci.c
@@
-52,8
+52,8
@@
int rt2x00pci_regbusy_read(struct rt2x00_dev *rt2x00dev,
udelay(REGISTER_BUSY_DELAY);
}
-
ERROR(rt2x00dev, "
Indirect register access failed: "
- "offset=0x%.08x, value=0x%.08x\n", offset, *reg);
+
printk_once(KERN_ERR "%s()
Indirect register access failed: "
+ "offset=0x%.08x, value=0x%.08x\n",
__func__,
offset, *reg);
*reg = ~0;
return 0;