summaryrefslogtreecommitdiffstats
path: root/drivers/platform
diff options
context:
space:
mode:
authorAaron Ma2018-02-11 10:18:49 +0100
committerAndy Shevchenko2018-02-15 11:18:32 +0100
commited5b9ba7bef7f277cbdf315e385b44e0e3b1a9ab (patch)
tree1509b91ed82866860d411f16bd20a5df3a1a9a45 /drivers/platform
parentplatform/x86: wmi: fix off-by-one write in wmi_dev_probe() (diff)
downloadkernel-qcow2-linux-ed5b9ba7bef7f277cbdf315e385b44e0e3b1a9ab.tar.gz
kernel-qcow2-linux-ed5b9ba7bef7f277cbdf315e385b44e0e3b1a9ab.tar.xz
kernel-qcow2-linux-ed5b9ba7bef7f277cbdf315e385b44e0e3b1a9ab.zip
platform/x86: ideapad-laptop: Increase timeout to wait for EC answer
Lenovo E41-20 needs more time than 100ms to read VPC, the funtion keys always failed responding. Increase timeout to get the value from VPC, then the funtion keys like mic mute key work well. Signed-off-by: Aaron Ma <aaron.ma@canonical.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/platform')
-rw-r--r--drivers/platform/x86/ideapad-laptop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/ideapad-laptop.c b/drivers/platform/x86/ideapad-laptop.c
index 5b6f18b18801..535199c9e6bc 100644
--- a/drivers/platform/x86/ideapad-laptop.c
+++ b/drivers/platform/x86/ideapad-laptop.c
@@ -113,7 +113,7 @@ MODULE_PARM_DESC(no_bt_rfkill, "No rfkill for bluetooth.");
/*
* ACPI Helpers
*/
-#define IDEAPAD_EC_TIMEOUT (100) /* in ms */
+#define IDEAPAD_EC_TIMEOUT (200) /* in ms */
static int read_method_int(acpi_handle handle, const char *method, int *val)
{