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:35:14 +0000 (09:35 +0200)
commit9ac7bd114e13628467c037066786775a357d91d6
treeb1b231d4c5e07f8431e06655a57bcfe7efbdf817
parentafaed241928f029e788bbbeed26b2b530ba7cd1a
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