Input: elan_i2c - add ASUS EeeBook X205TA special touchpad fw
authorMatjaz Hegedic <matjaz.hegedic@gmail.com>
Fri, 10 Mar 2017 22:33:09 +0000 (14:33 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 10 Mar 2017 22:37:19 +0000 (14:37 -0800)
commit92ef6f97a66e580189a41a132d0f8a9f78d6ddce
treec3d85293ffd892323759ca51db9182892884754f
parenta4c2a13129f7c5bcf81704c06851601593303fd5
Input: elan_i2c - add ASUS EeeBook X205TA special touchpad fw

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.

Signed-off-by: Matjaz Hegedic <matjaz.hegedic@gmail.com>
Acked-by: KT Liao <kt.liao@emc.com.tw>
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/elan_i2c_core.c