提交 05f5c385 编写于 作者: K KT Liao 提交者: 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: NKT Liao <kt.liao@emc.com.tw>
Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册