Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5c406412 authored by Alexey Starikovskiy's avatar Alexey Starikovskiy Committed by Len Brown
Browse files

ACPI: ec: Increase timeout from 50 to 500 ms to handle old slow machines.

parent 5d57a6a5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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 */