diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-01-31 11:44:02 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-04-03 14:53:26 -0700 |
commit | 39b41b23e27ca7d4425ad1f23189eef936394fdf (patch) | |
tree | 33b01c0b8bf4e34d09a22821882735bc5001466b /drivers | |
parent | 6bf676723ab2a6ade05feb2cd0b5073930f72d7e (diff) |
Staging: agnx: i reaches -1, tested 0
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-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 8294b6e2eb9..9e1e9d5ccf9 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; |