return uiData;
}
if (!(dwRetries%RETRIES_PER_DELAY))
- msleep(1);
+ udelay(1000);
uiStatus = 0 ;
}
return uiData;
}
if (!(dwRetries%RETRIES_PER_DELAY))
- msleep(1);
+ udelay(1000);
}
for (dwIndex = 0; dwIndex < dwNumWords; dwIndex++) {
* the sector erase cycle is 500 ms to 40000 msec. hence sleeping 10 ms
* won't hamper performance in any case.
*/
- msleep(10);
+ udelay(10000);
} while ((uiStatus & 0x1) && (iRetries < 400));
if (uiStatus & 0x1) {
}
iRetries--;
if (iRetries && ((iRetries % FLASH_PER_RETRIES_DELAY) == 0))
- msleep(1);
+ udelay(1000);
} while ((uiStatus & 0x1) && (iRetries > 0));
* Hence current implementation cycle will intoduce no delay in current path
*/
if (iRetries && ((iRetries % FLASH_PER_RETRIES_DELAY) == 0))
- msleep(1);
+ udelay(1000);
} while ((uiStatus & 0x1) && (iRetries > 0));
if (uiStatus & 0x1) {
iRetries--;
if (iRetries && ((iRetries % FLASH_PER_RETRIES_DELAY) == 0))
- msleep(1);
+ udelay(1000);
} while ((uiStatus & 0x1) && (iRetries > 0));
* Hence current implementation cycle will intoduce no delay in current path
*/
if (iRetries && ((iRetries % FLASH_PER_RETRIES_DELAY) == 0))
- msleep(1);
+ udelay(1000);
} while ((uiStatus & 0x1) && (iRetries > 0));
}
if (!(uiRetries%RETRIES_PER_DELAY))
- msleep(1);
+ udelay(1000);
uiStatus = 0;
rdmalt(Adapter, EEPROM_SPI_Q_STATUS1_REG, &uiStatus, sizeof(uiStatus));
}
uiEpromStatus = 0;
if (!(uiRetries%RETRIES_PER_DELAY))
- msleep(1);
+ udelay(1000);
}
return STATUS_SUCCESS;