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:
6bf6767
)
Staging: agnx: i reaches -1, tested 0
author
Roel Kluin
<roel.kluin@gmail.com>
Sat, 31 Jan 2009 10:44:02 +0000
(11:44 +0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 3 Apr 2009 21:53:26 +0000
(14:53 -0700)
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/agnx/rf.c
patch
|
blob
|
history
diff --git
a/drivers/staging/agnx/rf.c
b/drivers/staging/agnx/rf.c
index 8294b6e2eb9d49bd75d44fbfef2822b9508b9c67..9e1e9d5ccf9ba3a4dda3d245dcbe9dd8b92f25cb 100644
(file)
--- a/
drivers/staging/agnx/rf.c
+++ b/
drivers/staging/agnx/rf.c
@@
-669,7
+669,7
@@
static inline void calibra_delay(struct agnx_priv *priv)
unsigned int i = 100;
wmb();
- while (
i--
) {
+ while (
--i
) {
reg = (ioread32(ctl + AGNX_ACI_STATUS));
if (reg == 0x4000)
break;