diff options
author | Aaron Ma <aaron.ma@canonical.com> | 2018-02-11 17:18:49 +0800 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2018-02-15 12:18:32 +0200 |
commit | ed5b9ba7bef7f277cbdf315e385b44e0e3b1a9ab (patch) | |
tree | 1509b91ed82866860d411f16bd20a5df3a1a9a45 /drivers/platform/x86 | |
parent | 6e1d8ea90932f77843730ada0bfea63093b7212a (diff) | |
download | op-kernel-dev-ed5b9ba7bef7f277cbdf315e385b44e0e3b1a9ab.zip op-kernel-dev-ed5b9ba7bef7f277cbdf315e385b44e0e3b1a9ab.tar.gz |
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/x86')
-rw-r--r-- | drivers/platform/x86/ideapad-laptop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/ideapad-laptop.c b/drivers/platform/x86/ideapad-laptop.c index 5b6f18b18..535199c 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) { |