Commit 05f5c385 authored by KT Liao's avatar KT Liao Committed by Dmitry Torokhov

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: default avatarKT Liao <kt.liao@emc.com.tw>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 6b4877c7
...@@ -598,7 +598,7 @@ static int elan_i2c_write_fw_block(struct i2c_client *client, ...@@ -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. */ /* 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); error = elan_i2c_read_cmd(client, ETP_I2C_IAP_CTRL_CMD, val);
if (error) { if (error) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment