Skip to content

Commit

Permalink
Input: elan_i2c - extend Flash-Write delay
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
KT Liao authored and Dmitry Torokhov committed Sep 22, 2017
1 parent 6b4877c commit 05f5c38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/input/mouse/elan_i2c_i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 05f5c38

Please sign in to comment.