|
@@ -239,10 +239,10 @@ static int ec_check_sci(struct acpi_ec *ec, u8 state)
|
|
|
static int ec_poll(struct acpi_ec *ec)
|
|
|
{
|
|
|
unsigned long delay = jiffies + msecs_to_jiffies(ACPI_EC_DELAY);
|
|
|
- msleep(1);
|
|
|
+ udelay(ACPI_EC_UDELAY);
|
|
|
while (time_before(jiffies, delay)) {
|
|
|
gpe_transaction(ec, acpi_ec_read_status(ec));
|
|
|
- msleep(1);
|
|
|
+ udelay(ACPI_EC_UDELAY);
|
|
|
if (ec_transaction_done(ec))
|
|
|
return 0;
|
|
|
}
|