summaryrefslogtreecommitdiff
path: root/drivers/input
diff options
context:
space:
mode:
authorMichele Curti <michele.curti@gmail.com>2015-08-24 20:49:29 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2015-08-24 20:55:49 +0300
commit534fcb3bdaab801636d2146079462f7fdf52be0a (patch)
tree28dac2252c8d094d7d1a83fc196605f2bbd36932 /drivers/input
parent4ea14a53d8f881034fa9e186653821c4e3d9a8fb (diff)
downloadlinux-534fcb3bdaab801636d2146079462f7fdf52be0a.tar.xz
Input: elan_i2c - enable ELAN0100 acpi panels
Enable ELAN0100 touchpad driver, found on a Asus X205TA laptop, to gai 2,3 fingers tap and 2 fingers scroll. Signed-off-by: Michele Curti <michele.curti@gmail.com> Reviewed-by: Duson Lin <dusonlin@emc.com.tw> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/mouse/elan_i2c_core.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/input/mouse/elan_i2c_core.c b/drivers/input/mouse/elan_i2c_core.c
index 67388f42ed9a..bbdaedc09261 100644
--- a/drivers/input/mouse/elan_i2c_core.c
+++ b/drivers/input/mouse/elan_i2c_core.c
@@ -98,6 +98,9 @@ static int elan_get_fwinfo(u8 ic_type, u16 *vaildpage_count,
u16 *signature_address)
{
switch(ic_type) {
+ case 0x08:
+ *vaildpage_count = 512;
+ break;
case 0x09:
*vaildpage_count = 768;
break;
@@ -1165,6 +1168,7 @@ MODULE_DEVICE_TABLE(i2c, elan_id);
#ifdef CONFIG_ACPI
static const struct acpi_device_id elan_acpi_id[] = {
{ "ELAN0000", 0 },
+ { "ELAN0100", 0 },
{ "ELAN0600", 0 },
{ }
};