[PATCH] Input: elan_i2c - Add ic type 0x03

Subsystems: input (keyboard, mouse, joystick, touchscreen) drivers, the rest

STALE4037d

2 messages, 2 authors, 2015-09-21 · open the first message on its own page

[PATCH] Input: elan_i2c - Add ic type 0x03

From: duson <hidden>
Date: 2015-09-21 02:14:22

The 0x03 is valid 3000 serial ic type too.

Signed-off-by: Duson Lin <redacted>
---
 drivers/input/mouse/elan_i2c_core.c |    1 +
 1 file changed, 1 insertion(+)
diff --git a/drivers/input/mouse/elan_i2c_core.c b/drivers/input/mouse/elan_i2c_core.c
index fa94530..16ac595 100644
--- a/drivers/input/mouse/elan_i2c_core.c
+++ b/drivers/input/mouse/elan_i2c_core.c
@@ -102,6 +102,7 @@ static int elan_get_fwinfo(u8 iap_version, u16 *validpage_count,
 		*validpage_count = 512;
 		break;
 	case 0x09:
+	case 0x03:
 		*validpage_count = 768;
 		break;
 	case 0x0D:
-- 
1.7.9.5

Re: [PATCH] Input: elan_i2c - Add ic type 0x03

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2015-09-21 16:25:30

On Mon, Sep 21, 2015 at 10:14:13AM +0800, duson wrote:
The 0x03 is valid 3000 serial ic type too.

Signed-off-by: Duson Lin <redacted>
Applied, thank you.
quoted hunk
---
 drivers/input/mouse/elan_i2c_core.c |    1 +
 1 file changed, 1 insertion(+)
diff --git a/drivers/input/mouse/elan_i2c_core.c b/drivers/input/mouse/elan_i2c_core.c
index fa94530..16ac595 100644
--- a/drivers/input/mouse/elan_i2c_core.c
+++ b/drivers/input/mouse/elan_i2c_core.c
@@ -102,6 +102,7 @@ static int elan_get_fwinfo(u8 iap_version, u16 *validpage_count,
 		*validpage_count = 512;
 		break;
 	case 0x09:
+	case 0x03:
 		*validpage_count = 768;
 		break;
 	case 0x0D:
-- 
1.7.9.5
-- 
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help