]> git.baikalelectronics.ru Git - kernel.git/commit
Input: elan_i2c - fix firmware update on newer ICs
authorjingle.wu <jingle.wu@emc.com.tw>
Thu, 12 Nov 2020 04:06:24 +0000 (20:06 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 12 Nov 2020 04:13:12 +0000 (20:13 -0800)
commita699b64b7b427690a4f349d39c87e2ebe08da0a5
tree2da90006bde86a0af6766ea2d36e3461078e11f3
parent230d400ae6a5332288e3e74b4e5cb3044143864c
Input: elan_i2c - fix firmware update on newer ICs

The argument to iap page type command depends on the firmware page size.

Fixes: ce3f47a39dea ("Input: elan_i2c - handle firmware updated on newer ICs")
Signed-off-by: Jingle Wu <jingle.wu@emc.com.tw>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/elan_i2c.h
drivers/input/mouse/elan_i2c_core.c
drivers/input/mouse/elan_i2c_i2c.c
drivers/input/mouse/elan_i2c_smbus.c