qmod: Replace hand-crafted delay loop with call to mdelay()

This commit is contained in:
Harald Welte
2017-03-05 16:48:47 +01:00
parent c6e482d581
commit 0e2959859a

View File

@@ -56,11 +56,7 @@ static int write_hub_eeprom(void)
int i;
/* wait */
volatile int v;
/* 440ns per cycle here */
for (i = 0; i < 1000000; i++) {
v = 0;
}
mdelay(100);
TRACE_INFO("Writing EEPROM...\n\r");
/* write the EEPROM once */