commit | 4b3c7dbbfff0673e8a89575414b864d8b001d3bb | [log] [tgz] |
---|---|---|
author | KT Liao <kt.liao@emc.com.tw> | Thu May 25 10:06:21 2017 -0700 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Thu May 25 10:11:34 2017 -0700 |
tree | f9533053e6ebeb76a36abeabafb2f9da49e5221e | |
parent | 089b50d95948f691589cca4d81f1f8761747dbaa [diff] |
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>