“9ab4650f718a0e1cb8792bab4ef97efca4ac75c2”上不存在“arch/arm/mach-imx/cpu-imx31.c”
提交 8605b3aa 编写于 作者: B Bill Pemberton 提交者: Greg Kroah-Hartman

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: NBill Pemberton <wfp5p@virginia.edu>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 fcea1154
......@@ -180,7 +180,7 @@ int i_AddiHeaderRW_ReadEeprom(int i_NbOfWordsToRead,
}
/* Sleep */
for (i = 0; i < 10000; i++) ;
msleep(1);
}
w_ReadWord =
......
......@@ -224,7 +224,7 @@ int i_AddiHeaderRW_ReadEeprom(int i_NbOfWordsToRead,
/* Sleep */
for (i = 0; i < 10000; i++) ;
msleep(1);
}
w_ReadWord =
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册