ACPI: ec: Increase timeout from 50 to 500 ms to handle old slow machines.
authorAlexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Thu, 7 Dec 2006 15:42:16 +0000 (18:42 +0300)
committerLen Brown <len.brown@intel.com>
Fri, 8 Dec 2006 07:56:05 +0000 (02:56 -0500)
http://bugzilla.kernel.org/show_bug.cgi?id=7466

Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/ec.c

index 3ffe172..46a132d 100644 (file)
@@ -65,10 +65,10 @@ enum {
        ACPI_EC_EVENT_IBF_0,            /* Input buffer empty */
 };
 
-#define ACPI_EC_DELAY          50      /* Wait 50ms max. during EC ops */
+#define ACPI_EC_DELAY          500     /* Wait 500ms max. during EC ops */
 #define ACPI_EC_UDELAY_GLK     1000    /* Wait 1ms max. to get global lock */
 #define ACPI_EC_UDELAY         100     /* Poll @ 100us increments */
-#define ACPI_EC_UDELAY_COUNT   1000    /* Wait 10ms max. during EC ops */
+#define ACPI_EC_UDELAY_COUNT   1000    /* Wait 100ms max. during EC ops */
 
 enum {
        EC_INTR = 1,    /* Output buffer full */