Patch "Input: elan_i2c - add ASUS EeeBook X205TA special touchpad fw" has been added to the 4.9-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
Input: elan_i2c - add ASUS EeeBook X205TA special touchpad fw
to the 4.9-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
input-elan_i2c-add-asus-eeebook-x205ta-special-touchpad-fw.patch
and it can be found in the queue-4.9 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
92ef6f97a66e580189a41a132d0f8a9f78d6ddceMon Sep 17 00:00:00 2001
From: Matjaz Hegedic <[email protected]>
Date: Fri, 10 Mar 2017 14:33:09 -0800
Subject: Input: elan_i2c - add ASUS EeeBook X205TA special touchpad fw
From: Matjaz Hegedic <[email protected]>
commit 92ef6f97a66e580189a41a132d0f8a9f78d6ddce upstream.
EeeBook X205TA is yet another ASUS device with a special touchpad firmware that needs to be accounted for during initialization, or else the touchpad will go into an invalid state upon suspend/resume. Adding the appropriate ic_type and product_id check fixes the problem.
--- drivers/input/mouse/elan_i2c_core.c | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-)
drivers/input/mouse/elan_i2c_core.c +11 -9
@@ -218,17 +218,19 @@ static int elan_query_product(struct elastatic int elan_check_ASUS_special_fw (struct elan_tp_data *data) { -if (data->ic_type !=0x0E ) -return false; - -switch (data->product_id) { - case 0x05 ... 0x07: -case 0x09 : -case 0x13 : +if (data->ic_type ==0x0E ) { +switch (data->product_id) { + case 0x05 ... 0x07: +case 0x09 : +case 0x13 : +return true; + } + }else if (data->ic_type ==0x08 && data->product_id ==0x26 ) { +/* ASUS EeeBook X205TA */ return true; -default : -return false; } + +return false; }static int __elan_initialize (struct elan_tp_data *data)
Patches currently in stable-queue which might be from [email protected] are
queue-4.9/input-elan_i2c-add-asus-eeebook-x205ta-special-touchpad-fw.patch