Skip to content

Commit 05f5c38

Browse files
KT Liaodtor
authored andcommitted
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 <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
1 parent 6b4877c commit 05f5c38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/input/mouse/elan_i2c_i2c.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@ static int elan_i2c_write_fw_block(struct i2c_client *client,
598598
}
599599

600600
/* Wait for F/W to update one page ROM data. */
601-
msleep(20);
601+
msleep(35);
602602

603603
error = elan_i2c_read_cmd(client, ETP_I2C_IAP_CTRL_CMD, val);
604604
if (error) {

0 commit comments

Comments
 (0)