break;
}
loopcnt++;
- msleep(10);
+ usleep_range(10000, 11000);
}
pr_debug("Doorbell = 0x%x\n", temp);
if (temp & 0x8000) {
loopcnt++;
- msleep(10);
+ usleep_range(10000, 11000);
} else {
pr_debug("door bell is cleared, return 0\n");
return 0;
return handshake;
}
loopcnt++;
- msleep(10);
+ usleep_range(10000, 11000);
}
return HANDSHAKE_TIMEOUT_VALUE;
}
loopcnt++;
- msleep(10);
+ usleep_range(10000, 11000);
handshake = ntohs(handshake);
if ((handshake == expected_value) ||
(handshake == HANDSHAKE_RESET_VALUE_USB))