提交 5c406412 编写于 作者: A Alexey Starikovskiy 提交者: Len Brown

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

http://bugzilla.kernel.org/show_bug.cgi?id=7466Signed-off-by: NLen Brown <len.brown@intel.com>
上级 5d57a6a5
......@@ -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 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册