aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/comedi/drivers/addi-data/addi_amcc_S5920.c
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2009-04-26 14:45:11 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2009-06-19 11:00:34 -0700
commit8605b3aa0c107b5df59e99dbde2e708aa0012efd (patch)
tree7fc32c2fb1bd45dd8bf56bcf0fef98be72ae7c51 /drivers/staging/comedi/drivers/addi-data/addi_amcc_S5920.c
parentfcea115462c690ba09f9df7471d60dda0d86a4ea (diff)
Staging: comedi: replace for loop with msleep()
Replace 2 attempts to use a for loop as a sleep with a call to msleep(). Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/comedi/drivers/addi-data/addi_amcc_S5920.c')
-rw-r--r--drivers/staging/comedi/drivers/addi-data/addi_amcc_S5920.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/comedi/drivers/addi-data/addi_amcc_S5920.c b/drivers/staging/comedi/drivers/addi-data/addi_amcc_S5920.c
index 556ed46d78a..6e9e7ed4dba 100644
--- a/drivers/staging/comedi/drivers/addi-data/addi_amcc_S5920.c
+++ b/drivers/staging/comedi/drivers/addi-data/addi_amcc_S5920.c
@@ -180,7 +180,7 @@ int i_AddiHeaderRW_ReadEeprom(int i_NbOfWordsToRead,
}
/* Sleep */
- for (i = 0; i < 10000; i++) ;
+ msleep(1);
}
w_ReadWord =