diff options
author | Alexey Starikovskiy <alexey.y.starikovskiy@intel.com> | 2006-12-07 10:42:16 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-12-08 02:56:05 -0500 |
commit | 5c4064124a5720a2576eb4bd5b7200d70052e9b5 (patch) | |
tree | 1a6c701c27f3efa929e009e8e635f7c0412eb3cc /drivers/acpi/ec.c | |
parent | 5d57a6a55ec0bdcb952dbcd3f8ffcde8a3ee9413 (diff) |
ACPI: ec: Increase timeout from 50 to 500 ms to handle old slow machines.
http://bugzilla.kernel.org/show_bug.cgi?id=7466
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/ec.c')
-rw-r--r-- | drivers/acpi/ec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c index 3ffe172d1a88..46a132d613bc 100644 --- a/drivers/acpi/ec.c +++ b/drivers/acpi/ec.c | |||
@@ -65,10 +65,10 @@ enum { | |||
65 | ACPI_EC_EVENT_IBF_0, /* Input buffer empty */ | 65 | ACPI_EC_EVENT_IBF_0, /* Input buffer empty */ |
66 | }; | 66 | }; |
67 | 67 | ||
68 | #define ACPI_EC_DELAY 50 /* Wait 50ms max. during EC ops */ | 68 | #define ACPI_EC_DELAY 500 /* Wait 500ms max. during EC ops */ |
69 | #define ACPI_EC_UDELAY_GLK 1000 /* Wait 1ms max. to get global lock */ | 69 | #define ACPI_EC_UDELAY_GLK 1000 /* Wait 1ms max. to get global lock */ |
70 | #define ACPI_EC_UDELAY 100 /* Poll @ 100us increments */ | 70 | #define ACPI_EC_UDELAY 100 /* Poll @ 100us increments */ |
71 | #define ACPI_EC_UDELAY_COUNT 1000 /* Wait 10ms max. during EC ops */ | 71 | #define ACPI_EC_UDELAY_COUNT 1000 /* Wait 100ms max. during EC ops */ |
72 | 72 | ||
73 | enum { | 73 | enum { |
74 | EC_INTR = 1, /* Output buffer full */ | 74 | EC_INTR = 1, /* Output buffer full */ |