Input: elan_i2c - add support for multi IC type and iap format
authorDuson Lin <dusonlin@emc.com.tw>
Mon, 8 Jun 2015 23:39:35 +0000 (16:39 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 9 Jun 2015 00:12:24 +0000 (17:12 -0700)
commit12018ac3d679d6a3c6c738ac805797fe4dd43912
tree2ac3ab6688915aebb8c00bec0b543605b1dc48a9
parent85919a00e55f90e72405e707eb23c930b8d8db91
Input: elan_i2c - add support for multi IC type and iap format

In order to support multiple IC types for i2c/smbus protocol, add get ic
type command and use this data when checking firmware page count and
signature address.

Signed-off-by: Duson Lin <dusonlin@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