ACPI: EC: Put back small delay at the transaction start
From: Alexey Starikovskiy <astarikovskiy@suse.de>
Commit 2a84cb removed delay needed by some slow controllers (Acer TM4001)
Put it back.
References: http://bugzilla.kernel.org/show_bug.cgi?id=14747
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
---
drivers/acpi/ec.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
@@ -217,6 +217,8 @@ static int ec_poll(struct acpi_ec *ec)
{
unsigned long flags;
int repeat = 2; /* number of command restarts */
+ /* allow EC to digest command */
+ udelay(ACPI_EC_CDELAY);
while (repeat--) {
unsigned long delay = jiffies +
msecs_to_jiffies(ACPI_EC_DELAY);