Skip to content

Commit

Permalink
Staging: agnx: i reaches -1, tested 0
Browse files Browse the repository at this point in the history
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Roel Kluin authored and Greg Kroah-Hartman committed Apr 3, 2009
1 parent 6bf6767 commit 39b41b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/agnx/rf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 39b41b2

Please sign in to comment.