summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ec/acpi/ec.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ec/acpi/ec.c b/src/ec/acpi/ec.c
index ab287d6afd..634d2bb941 100644
--- a/src/ec/acpi/ec.c
+++ b/src/ec/acpi/ec.c
@@ -53,6 +53,8 @@ int send_ec_command(u8 command)
// return -1;
}
+ udelay(10);
+
outb(command, ec_cmd_reg);
return 0;
}
@@ -73,6 +75,8 @@ int send_ec_data(u8 data)
// return -1;
}
+ udelay(10);
+
outb(data, ec_data_reg);
return 0;
@@ -104,6 +108,8 @@ u8 recv_ec_data(void)
// return -1;
}
+ udelay(10);
+
data = inb(ec_data_reg);
printk(BIOS_SPEW, "recv_ec_data: 0x%02x\n", data);