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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Mar 2017 07:41:22 +0000 (09:41 +0200)
commit3c9da7cfb7cf8528fb226348bc2da4b4bb274e39
tree10b029ba1085c2ebd3ef3678812733d713b55a73
parent4ccef6bd3a0212f0172428afe7ad4aa3b3601dbf
Input: elan_i2c - add ASUS EeeBook X205TA special touchpad fw

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.

Signed-off-by: Matjaz Hegedic <matjaz.hegedic@gmail.com>
Acked-by: KT Liao <kt.liao@emc.com.tw>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/input/mouse/elan_i2c_core.c