Skip to content

Commit

Permalink
ACPI: ec: Increase timeout from 50 to 500 ms to handle old slow machi…
Browse files Browse the repository at this point in the history
…nes.

http://bugzilla.kernel.org/show_bug.cgi?id=7466

Signed-off-by: Len Brown <len.brown@intel.com>
  • Loading branch information
Alexey Starikovskiy authored and Len Brown committed Dec 8, 2006
1 parent 5d57a6a commit 5c40641
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/acpi/ec.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 5c40641

Please sign in to comment.