Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

KT Liao and committed by
Dmitry Torokhov
05f5c385 6b4877c7

+1 -1
+1 -1
drivers/input/mouse/elan_i2c_i2c.c
··· 598 598 } 599 599 600 600 /* Wait for F/W to update one page ROM data. */ 601 - msleep(20); 601 + msleep(35); 602 602 603 603 error = elan_i2c_read_cmd(client, ETP_I2C_IAP_CTRL_CMD, val); 604 604 if (error) {