dect
/
linux-2.6
Archived
13
0
Fork 0

Staging: agnx: i reaches -1, tested 0

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Roel Kluin 2009-01-31 11:44:02 +01:00 committed by Greg Kroah-Hartman
parent 6bf676723a
commit 39b41b23e2
1 changed files with 1 additions and 1 deletions

View File

@ -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;