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>
This commit is contained in:
parent
6e1d8ea909
commit
ed5b9ba7be
@ -113,7 +113,7 @@ MODULE_PARM_DESC(no_bt_rfkill, "No rfkill for bluetooth.");
|
|||||||
/*
|
/*
|
||||||
* ACPI Helpers
|
* 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)
|
static int read_method_int(acpi_handle handle, const char *method, int *val)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user