mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 21:51:40 +00:00
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>
This commit is contained in:
parent
6b4877c7bd
commit
05f5c38576
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user