diff mbox

[Trusty,SRU] Input: elantech - add new icbody type

Message ID 1434009426-23579-1-git-send-email-liming.wang@canonical.com
State New
Headers show

Commit Message

Liming Wang June 11, 2015, 7:57 a.m. UTC
From: 洪一竹 <sam.hung@emc.com.tw>

BugLink: http://bugs.launchpad.net/bugs/1458488

This adds new icbody type to the list recognized by Elantech PS/2 driver.

Reported-by: Kristing Chuang <kristing.chuang@canonical.com>
Cc: stable@vger.kernel.org
Signed-off-by: Sam Hung <sam.hung@emc.com.tw>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
(cherry picked from commit 692dd1916436164e228608803dfb6cb768d6355a)
Signed-off-by: Liming Wang <liming.wang@canonical.com>
---
 drivers/input/mouse/elantech.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Tim Gardner June 11, 2015, 12:23 p.m. UTC | #1
The patch is OK, but it needs a public bug.
Liming Wang June 12, 2015, 4:06 a.m. UTC | #2
On Thu, Jun 11, 2015 at 06:23:41AM -0600, Tim Gardner wrote:
>The patch is OK, but it needs a public bug.
OK, I created a public bug and resent the patch.

Thanks,
Liming Wang

>-- 
>Tim Gardner tim.gardner@canonical.com
diff mbox

Patch

diff --git a/drivers/input/mouse/elantech.c b/drivers/input/mouse/elantech.c
index f181d73..ce3d400 100644
--- a/drivers/input/mouse/elantech.c
+++ b/drivers/input/mouse/elantech.c
@@ -1556,6 +1556,7 @@  static int elantech_set_properties(struct elantech_data *etd)
 		case 9:
 		case 10:
 		case 13:
+		case 14:
 			etd->hw_version = 4;
 			break;
 		default: