]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Input: elan_i2c - clear INT before resetting controller
authorKT Liao <kt.liao@emc.com.tw>
Thu, 25 May 2017 17:06:21 +0000 (10:06 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 25 May 2017 17:11:34 +0000 (10:11 -0700)
commit4b3c7dbbfff0673e8a89575414b864d8b001d3bb
treef9533053e6ebeb76a36abeabafb2f9da49e5221e
parent089b50d95948f691589cca4d81f1f8761747dbaa
Input: elan_i2c - clear INT before resetting controller

Some old touchpad FWs need to have interrupt cleared before issuing reset
command after updating firmware. We clear interrupt by attempting to read
full report from the controller, and discarding any data read.

Signed-off-by: KT Liao <kt.liao@emc.com.tw>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/elan_i2c_i2c.c