Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8605b3aa authored by Bill Pemberton's avatar Bill Pemberton Committed by Greg Kroah-Hartman
Browse files

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: default avatarBill Pemberton <wfp5p@virginia.edu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent fcea1154
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -180,7 +180,7 @@ int i_AddiHeaderRW_ReadEeprom(int i_NbOfWordsToRead,
			}

			/* Sleep */
			for (i = 0; i < 10000; i++) ;
			msleep(1);

		}
		w_ReadWord =
+1 −1
Original line number Diff line number Diff line
@@ -224,7 +224,7 @@ int i_AddiHeaderRW_ReadEeprom(int i_NbOfWordsToRead,


			/* Sleep */
			for (i = 0; i < 10000; i++) ;
			msleep(1);

		}
		w_ReadWord =