aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/mouse
diff options
context:
space:
mode:
authorKT Liao <kt.liao@emc.com.tw>2017-09-22 10:00:57 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2017-09-22 10:07:38 -0700
commit05f5c38576475439f3124a3e6d62db68de83f7be (patch)
tree6be7415ad00cf49d599e4ce789b7aeea7eae6518 /drivers/input/mouse
parentInput: uinput - avoid crash when sending FF request to device going away (diff)
downloadlinux-dev-05f5c38576475439f3124a3e6d62db68de83f7be.tar.xz
linux-dev-05f5c38576475439f3124a3e6d62db68de83f7be.zip
Input: elan_i2c - extend Flash-Write delay
The original 20ms delay is only marginally enough delay after a block write operation during firmware update. Let's increase the delay to ensure that the controller finishes up storing the page to avoid failures in the firmware updates. Signed-off-by: KT Liao <kt.liao@emc.com.tw> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/mouse')
-rw-r--r--drivers/input/mouse/elan_i2c_i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/mouse/elan_i2c_i2c.c b/drivers/input/mouse/elan_i2c_i2c.c
index 15b1330606c1..e19eb60b3d2f 100644
--- a/drivers/input/mouse/elan_i2c_i2c.c
+++ b/drivers/input/mouse/elan_i2c_i2c.c
@@ -598,7 +598,7 @@ static int elan_i2c_write_fw_block(struct i2c_client *client,
}
/* Wait for F/W to update one page ROM data. */
- msleep(20);
+ msleep(35);
error = elan_i2c_read_cmd(client, ETP_I2C_IAP_CTRL_CMD, val);
if (error) {