diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-01-31 11:44:02 +0100 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2009-02-16 09:58:26 +1100 |
commit | 7c7a8a8c5da0602e908c934defd7a48ef2a026ab (patch) | |
tree | b644d04b8e138f2862f2112ab21b2ec95df8779e /drivers/staging/agnx | |
parent | e11725ba32ab68ac2f8d88ef24b3d28d6d1345bc (diff) |
Staging: agnx: i reaches -1, tested 0
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/agnx')
-rw-r--r-- | drivers/staging/agnx/rf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/agnx/rf.c b/drivers/staging/agnx/rf.c index 8294b6e2eb9d..9e1e9d5ccf9b 100644 --- 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; |