am b1ef4665: Improve boot time by 0.1s by reducing a polling sleep interval

* commit 'b1ef4665e8df4abf0f3f134bf3090415fc834606':
  Improve boot time by 0.1s by reducing a polling sleep interval
gugelfrei
Paul Lawrence 9 years ago committed by Android Git Automerger
commit 4cc173e135

@ -1413,7 +1413,7 @@ int wait_and_unmount(const char *mountpoint, bool kill)
return rc;
}
#define DATA_PREP_TIMEOUT 200
#define DATA_PREP_TIMEOUT 1000
static int prep_data_fs(void)
{
int i;
@ -1431,7 +1431,7 @@ static int prep_data_fs(void)
if (*p == '1') {
break;
} else {
usleep(250000);
usleep(50000);
}
}
if (i == DATA_PREP_TIMEOUT) {

Loading…
Cancel
Save